aiohttp allows request smuggling due to incorrect parsing of chunk extensions
### Summary The Python parser parses newlines in chunk extensions incorrectly which can lead to request smuggling vulnerabilities under certain conditions. ### Impact If a pure Python version of aiohttp is installed (i.e. without the usual C extensions) or `AIOHTTP_NO_EXTENSIONS` is enabled, then an attacker may be able to execute a request smuggling attack to bypass certain firewalls or proxy protections. ----- Patch: https://github.com/aio-libs/aiohttp/commit/259edc369075de63e6f3a4eaade058c62af0df71
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2024-52304US | high7.5 | — | ||
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.10.11, the Python parser parses newlines in chunk extensions incorrectly which ca… | ||||
references
External citations — patches, advisories, analysis.
- https://github.com/advisories/GHSA-8495-4g3g-x7prADVISORY
- https://github.com/aio-libs/aiohttpPACKAGE
- https://github.com/aio-libs/aiohttp/commit/259edc369075de63e6f3a4eaade058c62af0df71FIX
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-8495-4g3g-x7prWEB
- https://lists.debian.org/debian-lts-announce/2025/02/msg00002.htmlWEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-52304ADVISORY
- https://pypi.org/project/aiohttpPACKAGE
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan