CVE-2024-52304
aiohttp: aiohttp vulnerable to request smuggling due to incorrect parsing of chunk extensions
Overview
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.
Source: OX vulnerability database
Severity
7.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness: CWE-444
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| PyPI | aiohttp | <3.10.11 | 3.10.11 |
| Seal PyPI | aiohttp | >=2.3.9+sp0, <2.3.9+sp999>=3.0.8+sp0, <3.0.8+sp999>=3.6.2+sp0, <3.6.2+sp999>=3.8.5+sp0, <3.8.5+sp999>=3.8.6+sp0, <3.8.6+sp3+1 more | 2.3.9+sp9993.0.8+sp9993.6.2+sp9993.8.5+sp9993.8.6+sp3 |
| Seal PyPI | seal-aiohttp | >=2.3.9+sp1, <2.3.9+sp999>=3.0.8+sp1, <3.0.8+sp999>=3.6.2+sp1, <3.6.2+sp999>=3.8.5+sp1, <3.8.5+sp999>=3.8.6+sp1, <3.8.6+sp3+1 more | 2.3.9+sp9993.0.8+sp9993.6.2+sp9993.8.5+sp9993.8.6+sp3 |
Open a package to see all its vulnerabilities.
Operating systems · 30 fixes
Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | python-aiohttp +1 | affected |
SUSE Linux Enterprise 3 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | python3-aiohttp | 3.6.0-150100.3.18.1 | SUSE-SU-2024:4110-1 |
| 15.4 | python311-aiohttp | 3.9.3-150400.10.27.1 | SUSE-SU-2024:4077-1 |
| 15.5 | python3-aiohttp | 3.6.0-150100.3.18.1 | SUSE-SU-2024:4110-1 |
| 15.5 | python311-aiohttp | 3.9.3-150400.10.27.1 | SUSE-SU-2024:4077-1 |
| 15.6 | python3-aiohttp | 3.6.0-150100.3.18.1 | SUSE-SU-2024:4110-1 |
| 15.6 | python311-aiohttp | 3.9.3-150400.10.27.1 | SUSE-SU-2024:4077-1 |
chainguard 1 release · 8 packages
| Release | Package | Fixed in |
|---|---|---|
| py3-13-scanner-test-libraries-aiohttp | 0.0.1-r3 | |
| kserve | 0.14.0-r0 | |
| py3-cassandra-medusa +1 | 0.22.3-r1 | |
| airflow | 2.10.3-r2 | |
| dask-gateway | 2024.1.0-r11 | |
| awx | 24.6.1-r2 |
2 more rows
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | python-aiohttp | 3.7.4-1+deb11u1 |
| 12 | python-aiohttp | 3.8.4-1+deb12u1 |
| 13 | python-aiohttp | 3.10.11-1 |
| 14 | python-aiohttp | 3.10.11-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| python-aiohttp | 3.8.4-1+deb12u1 |
ubuntu 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | python-aiohttp | 3.0.1-1ubuntu0.1~esm5 |
| 20.04-ESM | python-aiohttp | 3.6.2-1ubuntu1+esm4 |
| 22.04 | python-aiohttp | affected |
| 24.04 | python-aiohttp | affected |
wolfi 1 release · 6 packages
| Release | Package | Fixed in |
|---|---|---|
| kserve | 0.14.0-r0 | |
| py3-cassandra-medusa | 0.22.3-r1 | |
| airflow | 2.10.3-r2 | |
| dask-gateway | 2024.1.0-r11 | |
| py3-aiohttp | 3.10.11-r0 | |
| checkov | 3.2.432-r0 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2024-52304
- github.com https://github.com/aio-libs/aiohttp
- github.com https://github.com/aio-libs/aiohttp/commit/259edc369075de63e6f3a4eaade058c62af0df71
- github.com https://github.com/aio-libs/aiohttp/security/advisories/GHSA-8495-4g3g-x7pr
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-52304
- ubuntu.com https://ubuntu.com/security/notices/USN-7642-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2024-52304
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.