Description
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Affected versions of aiohttp have a security vulnerability regarding the inconsistent interpretation of the http protocol. HTTP/1.1 is a persistent protocol, if both Content-Length(CL) and Transfer-Encoding(TE) header values are present it can lead to incorrect interpretation of two entities that parse the HTTP and we can poison other sockets with this incorrect interpretation. A possible Proof-of-Concept (POC) would be a configuration with a reverse proxy(frontend) that accepts both CL and TE headers and aiohttp as backend. As aiohttp parses anything with chunked, we can pass a chunked123 as TE, the frontend entity will ignore this header and will parse Content-Length. The impact of this vulnerability is that it is possible to bypass any proxy rule, poisoning sockets to other users like passing Authentication Headers, also if it is present an Open Redirect an attacker could combine it to redirect random users to another website and log the request. This vulnerability has been addressed in release 3.8.0 of aiohttp. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| aio-libs | aiohttp | < 3.8.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-aiohttp | 3.8.1-1 | — |
| Debian 13 | python-aiohttp | 3.8.1-1 | — |
| Debian 12 | python-aiohttp | 3.8.1-1 | — |
| Debian 11 | python-aiohttp | 3.7.4-1+deb11u1 | DLA-4041-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | python-aiohttp | No fix yet | — |
| Ubuntu Pro 18.04 LTS | python-aiohttp | No fix yet | — |
| Ubuntu Pro 16.04 LTS | python-aiohttp | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | python-aiohttp | 3.6.0-150100.3.12.1 | SUSE-SU-2023:4909-1 |
| SLES 15 SP4 | python-aiohttp | 3.6.0-150100.3.12.1 | SUSE-SU-2024:0577-1, SUSE-SU-2023:4909-1 |
| SLES 15 SP3 | python-aiohttp | 3.6.0-150100.3.12.1 | SUSE-SU-2023:4909-1 |
| SLES 15 SP2 | python-aiohttp | 3.6.0-150100.3.12.1 | SUSE-SU-2023:4909-1 |
| SLES 15 SP1 | python-aiohttp | 3.6.0-150100.3.12.1 | SUSE-SU-2023:4909-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 3 | python-aiohttp | 3.9.3-150400.10.14.1 | SUSE-SU-2024:0577-1 |
| SLES for SAP 15 SP4 | python-aiohttp | 3.9.3-150400.10.14.1 | SUSE-SU-2024:0577-1 |
| SLE HPC 15 SP4 | python-aiohttp | 3.9.3-150400.10.14.1 | SUSE-SU-2024:0577-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-aiohttp | 3.9.3-2.1 | openSUSE-SU-2026:11467-1, openSUSE-SU-2024:13691-1 |
| openSUSE Leap 15.5 | python-aiohttp | 3.6.0-150100.3.12.1 | SUSE-SU-2024:0577-1, SUSE-SU-2023:4909-1 |
| openSUSE Leap 15.4 | python-aiohttp | 3.6.0-150100.3.12.1 | SUSE-SU-2023:4909-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | python-aiohttp | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | python-aiohttp | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | aiohttp | < 3.8.0 | 3.8.0 | GHSA-xx9p-xxvh-7g8j |
Advisories 5
- openSUSE-SU-2026:11467-1 python313-aiohttp-3.14.3-1.1 on GA media SUSE / openSUSE Security Updates · Aug 7, 2026
- DLA-4041-1 python-aiohttp - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2024:0577-1 Security update for python-aiohttp, python-time-machine SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4909-1 Security update for python-aiohttp SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13691-1 python310-aiohttp-3.9.3-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026