CVE-2023-47641

python-aiohttp: aiohttp is an asynchronous HTTP client/server framework for asyncio and Python

CVE-2023-47641 is fixed in python-aiohttp on 1 platform, first by DEBIAN-CVE-2023-47641, released November 14, 2023. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
6.5
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0083
57th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
python-aiohttp · Debian 12.15 (bookworm) 3.8.1-1 DEBIAN-CVE-2023-47641 Nov 14, 2023
python-aiohttp · Debian 13.5 (trixie) 3.8.1-1 DEBIAN-CVE-2023-47641 Nov 14, 2023
python-aiohttp · Debian 14 3.8.1-1 DEBIAN-CVE-2023-47641 Nov 14, 2023

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.