GHSA-gcfg-hmwx-wq5h: Nategood/httpful Httpful Is Missing Certificate Validation Vulnerability

MODERATE
CVSS 7.4
CWE-295
Published
Advisory Summary

GHSA-gcfg-hmwx-wq5h is a MODERATE (CVSS 7.4) httpful is missing certificate validation vulnerability (CWE-295: Improper Certificate Validation) affecting Nategood/httpful libraries in the Packagist ecosystem. The issue involves httpful is missing certificate validation. Remediation is available by upgrading affected packages to version 1.0.0.

GHSA-gcfg-hmwx-wq5h at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-gcfg-hmwx-wq5h
Severity MODERATE
CVSS v3.1 Base Score 7.4
CWE Classification CWE-295: Improper Certificate Validation
Affected Product Nategood/httpful
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 7.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix GHSA-gcfg-hmwx-wq5h

To remediate this vulnerability, upgrade all affected Nategood/httpful dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

nategood/httpful fixed: 1.0.0
Upgrade nategood/httpful to 1.0.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for nategood/httpful

How to Check if You Are Affected

To determine whether your application is affected by GHSA-gcfg-hmwx-wq5h, inspect your project dependencies for Nategood/httpful:

inspect dependencies for nategood/httpful

Analyze the terminal output to locate any version of Nategood/httpful in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-295: Improper Certificate Validation, where the product does not validate, or incorrectly validates, a certificate. In Nategood/httpful, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Httpful has Insecure HTTPS Connections due to Missing Default Certificate Validation

GHSA-gcfg-hmwx-wq5h Affected Nategood/httpful Versions

1 component(s)
Fixed Versions:
1.0.0
Product / Package Ecosystem Affected Versions Fixed Version
nategood/httpful
Packagist
< 1.0.0
1.0.0

References

Frequently Asked Questions

What is GHSA-gcfg-hmwx-wq5h?
GHSA-gcfg-hmwx-wq5h is a security vulnerability in Nategood/httpful involving Httpful is Missing Certificate Validation under CWE-295: Improper Certificate Validation.
Which Nategood/httpful versions are affected?
Affected versions include releases prior to 1.0.0 across affected packages: nategood/httpful.
What version fixes GHSA-gcfg-hmwx-wq5h?
Upgrading to 1.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is nategood/httpful affected?
Yes, nategood/httpful is affected in releases prior to 1.0.0. Upgrade your dependency to 1.0.0 or later.
What is the CVSS score of GHSA-gcfg-hmwx-wq5h?
GHSA-gcfg-hmwx-wq5h has a CVSS v3.1 base score of 7.4 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with GHSA-gcfg-hmwx-wq5h?
GHSA-gcfg-hmwx-wq5h is classified under CWE-295: Improper Certificate Validation (The product does not validate, or incorrectly validates, a certificate.).
How can I check Packagist dependencies for GHSA-gcfg-hmwx-wq5h?
Run the dependency tree command: 'inspect dependencies for nategood/httpful'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-gcfg-hmwx-wq5h",
  "modified" : "2024-09-09T18:18:15Z",
  "published" : "2024-09-09T18:18:15Z",
  "aliases" : [ ],
  "summary" : "Httpful is Missing Certificate Validation",
  "details" : "Httpful has Insecure HTTPS Connections due to Missing Default Certificate Validation",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "nategood/httpful"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/nategood/httpful/issues/247"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/nategood/httpful/commit/44c880e4f559e9215dc6ea9fe50315500c6c2c84"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/nategood/httpful/2024-05-01.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/nategood/httpful"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/nategood/httpful/blob/fc8e4274a09529a6ff29b9c6c0a105ee43dbfda5/src/Httpful/Request.php#L35"
  }, {
    "type" : "WEB",
    "url" : "https://huntr.com/bounties/8d59c089-92f1-4b73-90f8-54968a70e2fb"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-295" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-09-09T18:18:15Z",
    "nvd_published_at" : null
  }
}