GHSA-gcfg-hmwx-wq5h: Nategood/httpful Httpful Is Missing Certificate Validation Vulnerability
MODERATEGHSA-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
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).
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.
Upgrade nategood/httpful to 1.0.0
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
GHSA-gcfg-hmwx-wq5h Affected Nategood/httpful Versions
1 component(s)| 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?
Which Nategood/httpful versions are affected?
What version fixes GHSA-gcfg-hmwx-wq5h?
Is nategood/httpful affected?
What is the CVSS score of GHSA-gcfg-hmwx-wq5h?
What CWE is associated with GHSA-gcfg-hmwx-wq5h?
How can I check Packagist dependencies for GHSA-gcfg-hmwx-wq5h?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}