Skip to main content
VulnerabilityPublished

CVE-2024-23829: aio-libs aiohttp · HTTP Request/Response Smuggling

Affects aio-libs aiohttpSource CVE Database V5

0
Compare

Mentioned vulnerabilities

Not known to be exploited · CVSS 6.5 Medium : upgrade to 3.9.2 when convenient.

Data as of 22 Nov 2026, 21:13 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.16.5
EPSS
1.0% chance of exploitation in 30 days – higher than 64% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.9.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.

What to do

Upgrade aio-libs aiohttp to 3.9.2.

Affected software

ProductAffectedFixed in
PyPIaiohttppkg:pypi/aiohttpOther threatsAffected
  • <3.9.2
Fixed in
  • 3.9.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

The primary mitigation is to upgrade all aiohttp deployments to version 3.9.2 or later, where the vulnerability has been fixed. Organizations should audit their software inventories to identify affected versions and prioritize patching in production and development environments. Beyond patching, implement strict HTTP request validation at the application and proxy layers to detect and block malformed or suspicious requests that could be used for request smuggling. Deploy Web Application Firewalls (WAFs) with updated signatures capable of detecting HTTP request smuggling patterns. Monitor server and application logs for anomalies such as unexpected exceptions or resource usage spikes indicative of exploitation attempts. Conduct penetration testing focused on HTTP request smuggling to validate defenses. For proxy and gateway configurations, ensure consistent parsing and error handling policies to prevent discrepancies that facilitate smuggling. Educate development and operations teams about the risks of inconsistent HTTP parsing and the importance of adhering to internet standards. Finally, maintain an incident response plan that includes detection and mitigation of HTTP request smuggling attacks.

Description

### Summary Security-sensitive parts of the *Python HTTP parser* retained minor differences in allowable character sets, that must trigger error handling to robustly match frame boundaries of proxies in order to protect against injection of additional requests. Additionally, validation could trigger exceptions that were not handled consistently with processing of other malformed input. ### Details These problems are rooted in pattern matching protocol elements, previously improved by PR #3235 and GHSA-gfw2-4jvh-wgfg: 1. The expression `HTTP/(\d).(\d)` lacked another backslash to clarify that the separator should be a literal dot, not just *any* Unicode code point (result: `HTTP/(\d)\.(\d)`). 2. The HTTP version was permitting Unicode digits, where only ASCII digits are standards-compliant. 3. Distinct regular expressions for validating HTTP Method and Header field names were used - though both should (at least) apply the common restrictions of rfc9110 `token`. ### PoC `GET / HTTP/1ö1` `GET / HTTP/1.𝟙` `GET/: HTTP/1.1` `Content-Encoding?: chunked` ### Impact Primarily concerns running an aiohttp server without llhttp: 1. **behind a proxy**: Being more lenient than internet standards require could, depending on deployment environment, assist in request smuggling. 2. **directly accessible** or exposed behind proxies relaying malformed input: the unhandled exception could cause excessive resource consumption on the application server and/or its logging facilities. ----- Patch: https://github.com/aio-libs/aiohttp/pull/8074/files

References

Community reviews

Loading reviews…