CVE-2024-52304

NameCVE-2024-52304
Descriptionaiohttp 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-5828-1
Debian Bugs1088109

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-aiohttp (PTS)stretch1.2.0-1vulnerable
buster (security), buster, buster (lts)3.5.1-1+deb10u1vulnerable
bullseye3.7.4-1vulnerable
bookworm3.8.4-1vulnerable
bookworm (security)3.8.4-1+deb12u1fixed
sid, trixie3.10.10-2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-aiohttpsourcestretch(unfixed)end-of-life
python-aiohttpsourcebuster(unfixed)end-of-life
python-aiohttpsourcebookworm3.8.4-1+deb12u1DSA-5828-1
python-aiohttpsource(unstable)(unfixed)1088109

Notes

https://github.com/aio-libs/aiohttp/security/advisories/GHSA-8495-4g3g-x7pr
https://github.com/aio-libs/aiohttp/commit/259edc369075de63e6f3a4eaade058c62af0df71 (v3.10.11)

Search for package or bug name: Reporting problems