GHSA-pjjw-qhg8-p2p9: Aiohttp Aiohttp Has Vulnerable Dependency That Vulnerability
MODERATEGHSA-pjjw-qhg8-p2p9 is a MODERATE aiohttp has vulnerable dependency that vulnerability (CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')) affecting Aiohttp libraries in the PyPI ecosystem. The issue involves aiohttp has vulnerable dependency that is vulnerable to request smuggling. Remediation is available by upgrading affected packages to version 3.8.6.
GHSA-pjjw-qhg8-p2p9 at a Glance
How to Fix GHSA-pjjw-qhg8-p2p9
To remediate this vulnerability, upgrade all affected Aiohttp dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install aiohttp>=3.8.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show aiohttp
How to Check if You Are Affected
To determine whether your Python environment is affected by GHSA-pjjw-qhg8-p2p9, inspect your installed packages using pip:
pip show aiohttp
Analyze the terminal output to locate any version of Aiohttp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.8.6), your application is affected.
Note: The pip show aiohttp command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling'), where the product acts as an intermediary http agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed http requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination. In Aiohttp, 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-pjjw-qhg8-p2p9 Affected Aiohttp Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
aiohttp
|
PyPI |
< 3.8.6
|
3.8.6
|
References
Frequently Asked Questions
What is GHSA-pjjw-qhg8-p2p9?
Which Aiohttp versions are affected?
What version fixes GHSA-pjjw-qhg8-p2p9?
Is aiohttp affected?
What CWE is associated with GHSA-pjjw-qhg8-p2p9?
How can I check PyPI dependencies for GHSA-pjjw-qhg8-p2p9?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pjjw-qhg8-p2p9",
"modified" : "2023-11-27T23:15:38Z",
"published" : "2023-11-27T23:15:38Z",
"aliases" : [ ],
"summary" : "aiohttp has vulnerable dependency that is vulnerable to request smuggling",
"details" : "### Summary\nllhttp 8.1.1 is vulnerable to two request smuggling vulnerabilities.\nDetails have not been disclosed yet, so refer to llhttp for future information.\nThe issue is resolved by using llhttp 9+ (which is included in aiohttp 3.8.6+).",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "aiohttp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.8.6"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/aio-libs/aiohttp/security/advisories/GHSA-pjjw-qhg8-p2p9"
}, {
"type" : "WEB",
"url" : "https://github.com/aio-libs/aiohttp/commit/996de2629ef6b4c2934a7c04dfd49d0950d4c43b"
}, {
"type" : "WEB",
"url" : "https://github.com/aio-libs/aiohttp/commit/bcc416e533796d04fb8124ef1e7686b1f338767a"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/aio-libs/aiohttp"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-444" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-11-27T23:15:38Z",
"nvd_published_at" : null
}
}