CVE-2024-52304: aiohttp vulnerable to request smuggling due to incorrect parsing of chunk extensions
Vulnerability summary
CVE-2024-52304 is a high (CVSS 7.5) vulnerability in aio-libs aiohttp. EPSS estimates a 0.56% chance of exploitation in the next 30 days, higher than 46.8% of scored vulnerabilities.
Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 6 · Related 6Timeline
- 18-11-2024PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
10 scores · 8 sources · 2 versions- OSV · PypiEcosystem advisory · calculated6.3MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated6.3MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated6.3MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated6.3MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- NVDNIST6.3MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · Red hatEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
0.56%
Chance of exploitation in the next 30 days
Percentile
47%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.56% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard22 products
- airflow< 2.10.3-r2
- airflow-bitnami-compat< 2.10.3-r2
- awx< 24.6.1-r2
- checkov< 3.2.432-r0
- dask-gateway< 2024.1.0-r11
Wolfi18 products
- airflow< 2.10.3-r2
- airflow-bitnami-compat< 2.10.3-r2
- checkov< 3.2.432-r0
- dask-gateway< 2024.1.0-r11
- dask-gateway-server< 2024.1.0-r11
Suse7 products
- python-aiohttp&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP2< 3.6.0-150100.3.18.1
- python-aiohttp&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP3< 3.6.0-150100.3.18.1
- python-aiohttp&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP4< 3.9.3-150400.10.27.1 | < 3.6.0-150100.3.18.1
- python-aiohttp&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP5< 3.6.0-150100.3.18.1
- python-aiohttp&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP6< 3.6.0-150100.3.18.1
Redhat4 products
- python-aiohttp< 0:3.10.11-1.el8pc | < 0:3.10.11-1.el9pc
- python-aiohttp-debugsource< 0:3.10.11-1.el8pc | < 0:3.10.11-1.el9pc
- python3.11-aiohttp< 0:3.10.11-1.el8pc | < 0:3.10.11-1.el9pc
- python3.11-aiohttp-debuginfo< 0:3.10.11-1.el8pc | < 0:3.10.11-1.el9pc
Opensuse2 products
- python-aiohttp&distro=openSUSE Leap 15.5< 3.9.3-150400.10.27.1 | < 3.6.0-150100.3.18.1
- python-aiohttp&distro=openSUSE Leap 15.6< 3.9.3-150400.10.27.1
Aio-libs1 product
- aiohttp< 3.10.11
Aiohttp1 product
- aiohttp< 3.10.11
Debian1 product
- python-aiohttp< 3.8.4-1+deb12u1 | < 3.10.11-1
PyPI1 product
- aiohttp< 3.10.11
Ubuntu1 product
- python-aiohttp< 3.0.1-1ubuntu0.1~esm5 | < 3.8.1-4ubuntu0.2+esm1 | < 3.9.1-1ubuntu0.1+esm1
10 vendors · 58 products
References
38 links- github.com/aio-libs/aiohttp/security/advisories/GHSA-8495-4g3g-x7prX Refsource CONFIRMWEBARTICLEREPORTAdvisoryVendor Advisory
- github.com/aio-libs/aiohttp/commit/259edc369075de63e6f3a4eaade058c62af0df71X Refsource MISCWEBFIXARTICLEREPORTPatch
- github.com/aio-libs/aiohttpPACKAGE
- pypi.org/project/aiohttpPACKAGE