GHSA-pjjw-qhg8-p2p9: Aiohttp Aiohttp Has Vulnerable Dependency That Vulnerability

MODERATE
CWE-444
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-pjjw-qhg8-p2p9
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
Affected Product Aiohttp
Package Ecosystem PyPI
Published Date
Last Updated

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.

aiohttp fixed: 3.8.6
pip install aiohttp>=3.8.6
Verify Direct and Transitive Dependencies

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

### Summary llhttp 8.1.1 is vulnerable to two request smuggling vulnerabilities. Details have not been disclosed yet, so refer to llhttp for future information. The issue is resolved by using llhttp 9+ (which is included in aiohttp 3.8.6+).

GHSA-pjjw-qhg8-p2p9 Affected Aiohttp Versions

1 component(s)
Fixed Versions:
3.8.6
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?
GHSA-pjjw-qhg8-p2p9 is a security vulnerability in Aiohttp involving aiohttp has vulnerable dependency that is vulnerable to request smuggling under CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling').
Which Aiohttp versions are affected?
Affected versions include releases prior to 3.8.6 across affected packages: aiohttp.
What version fixes GHSA-pjjw-qhg8-p2p9?
Upgrading to 3.8.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is aiohttp affected?
Yes, aiohttp is affected in releases prior to 3.8.6. Upgrade your dependency to 3.8.6 or later.
What CWE is associated with GHSA-pjjw-qhg8-p2p9?
GHSA-pjjw-qhg8-p2p9 is classified under CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') (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.).
How can I check PyPI dependencies for GHSA-pjjw-qhg8-p2p9?
Run the dependency tree command: 'pip show aiohttp'. 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-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
  }
}