Vulnerability · Published Nov 14, 2023 · Assigned by GitHub_M
CVE-2023-47627Request smuggling in aiohttp
Medium 5.3
In plain English
A medium-severity security flaw in aiohttp from aio-libs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. The HTTP parser in AIOHTTP has numerous problems with header parsing, which could lead to request smuggling. This parser is only used when AIOHTTP_NO_EXTENSIONS is enabled (or not using a prebuilt wheel). These bugs have been addressed in commit `d5c12ba89` which has been included in release version 3.8.6. Users are advised to upgrade. There are no known workarounds for these issues.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | python-aiohttp | 3.8.4-1+deb12u1 | DEBIAN-CVE-2023-47627 |
| Debian:12 | python-aiohttp | 3.8.4-1+deb12u1 | DSA-5828-1 |
| Debian:13 | python-aiohttp | 3.8.6-1 | DEBIAN-CVE-2023-47627 |
| Debian:14 | python-aiohttp | 3.8.6-1 | DEBIAN-CVE-2023-47627 |
| PyPI | aiohttp | 3.8.6 | GHSA-gfw2-4jvh-wgfg |
| PyPI | aiohttp | 3.8.6 | PYSEC-2023-246 |
Affected products (as reported)
Weakness: CWE-444 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
References
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-gfw2-4jvh-wgfg x_refsource_CONFIRM
- https://github.com/aio-libs/aiohttp/commit/d5c12ba890557a575c313bb3017910d7616fce3d x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VDKQ6HM3KNDU4OQI476ZWT4O7DMSIT35/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQYQL6WV535EEKSNH7KRARLLMOW5WXDM/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FUSJVQ7OQ55RWL4XAX2F5EZ73N4ZSH6U/
- https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html