Vulnerabilities · 2024 · Aiohttp
CVE-2024-52304
Aiohttp vulnerability
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 can lead to request smuggling vulnerabilities under certain conditions. 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. Version 3.10.11 fixes the issue.
Affected products
Aiohttp. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Aiohttp runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/aio-libs/aiohttp/security/advisories/GHSA-8495-4g3g-x7pr
- github.com/aio-libs/aiohttp/commit/259edc369075de63e6f3a4eaade058c62af0df71
- nvd.nist.gov/vuln/detail/CVE-2024-52304
- lists.debian.org/debian-lts-announce/2025/02/msg00002.html
- github.com/advisories/GHSA-8495-4g3g-x7pr
- nvd.nist.gov/vuln/detail/CVE-2024-52304
- cve.org/CVERecord?id=CVE-2024-52304
More vulnerabilities in Aiohttp products
CVE-2025-69230CVE-2025-69229CVE-2025-69228CVE-2025-69227CVE-2025-69226CVE-2025-69225CVE-2025-69224CVE-2025-69223All 23
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.