CVE catalog

CVE-2023-47641

python-aiohttp: CVE-2023-47641

[CVE catalog]

Severity
Medium · CVSS 5.4CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.83% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-aiohttpsid3.14.3-1fixed
Debianpython-aiohttpforky3.14.3-1fixed
Debianpython-aiohttptrixie3.11.16-1+deb13u1fixed
Debianpython-aiohttptrixie-security3.11.16-1+deb13u1fixed
Debianpython-aiohttpbookworm3.8.4-1+deb12u1fixed
Debianpython-aiohttpbookworm-security3.8.4-1+deb12u1fixed
Ubuntupython-aiohttppro3.5.4-1vulnerable
Ubuntupython-aiohttppro3.5.4-1build1vulnerable
Ubuntupython-aiohttppro3.6.1-1vulnerable
Ubuntupython-aiohttppro3.6.2-1vulnerable
Ubuntupython-aiohttppro3.6.2-1build1vulnerable
Ubuntupython-aiohttppro3.6.2-1ubuntu0.1~esm1vulnerable
Ubuntupython-aiohttppro3.6.2-1ubuntu1vulnerable
Ubuntupython-aiohttppro3.6.2-1ubuntu1+esm1vulnerable
Ubuntupython-aiohttppro3.6.2-1ubuntu1+esm3vulnerable
Ubuntupython-aiohttppro3.6.2-1ubuntu1+esm4vulnerable
Ubuntupython-aiohttppro3.6.2-1ubuntu1+esm5vulnerable
Ubuntupython-aiohttppro3.6.2-1ubuntu1+esm6vulnerable
Susepython-aiohttplinux enterprise module for public cloud 15 sp13.6.0-150100.3.12.1fixed
Susepython-aiohttplinux enterprise module for public cloud 15 sp23.6.0-150100.3.12.1fixed
Susepython-aiohttplinux enterprise module for public cloud 15 sp33.6.0-150100.3.12.1fixed
Susepython-aiohttplinux enterprise module for public cloud 15 sp43.6.0-150100.3.12.1fixed
Susepython-aiohttplinux enterprise module for public cloud 15 sp53.6.0-150100.3.12.1fixed
Opensusepython-aiohttpleap 15.43.6.0-150100.3.12.1fixed
Opensusepython-aiohttpleap 15.53.6.0-150100.3.12.1fixed
Opensusepython-aiohttptumbleweed3.9.3-2.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-aiohttpsourcesid3.8.1-1not yet assignedNot reportedNot reported
Debianpython-aiohttpsourceforky3.8.1-1not yet assignedNot reportedNot reported
Debianpython-aiohttpsourcetrixie3.8.1-1not yet assignedNot reportedNot reported
Debianpython-aiohttpsourcebookworm3.8.1-1not yet assignedNot reportedNot reported
Susepython-aiohttprpmlinux enterprise module for public cloud 15 sp13.6.0-150100.3.12.1Not reportedSUSE-SU-2023:4909-1Not reported
Susepython-aiohttprpmlinux enterprise module for public cloud 15 sp23.6.0-150100.3.12.1Not reportedSUSE-SU-2023:4909-1Not reported
Susepython-aiohttprpmlinux enterprise module for public cloud 15 sp33.6.0-150100.3.12.1Not reportedSUSE-SU-2023:4909-1Not reported
Susepython-aiohttprpmlinux enterprise module for public cloud 15 sp43.6.0-150100.3.12.1Not reportedSUSE-SU-2023:4909-1Not reported
Susepython-aiohttprpmlinux enterprise module for public cloud 15 sp53.6.0-150100.3.12.1Not reportedSUSE-SU-2023:4909-1Not reported
Opensusepython-aiohttprpmleap 15.43.6.0-150100.3.12.1Not reportedSUSE-SU-2023:4909-1Not reported
Opensusepython-aiohttprpmleap 15.53.6.0-150100.3.12.1Not reportedSUSE-SU-2023:4909-1Not reported
Opensusepython-aiohttprpmtumbleweed3.9.3-2.1Not reportedOPENSUSE-SU-2024:13691-1Not reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References