ADVISORIES

Vulnerability

CVE-2023-47641

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.

12 advisories report this vulnerability, across 7 ecosystems.

Advisories

  • AZL-43519

    CVE-2023-47641 affecting package python-aiohttp 3.6.2-3

    CVE-2023-47641 Azure Linux Updated 21 April 2026
  • AZL-44538

    CVE-2023-47641 affecting package python-aiohttp 3.6.2-3

    CVE-2023-47641 Azure Linux Updated 23 November 2026
  • DEBIAN-CVE-2023-47641

    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…

    CVE-2023-47641 Debian Updated 26 October 2026
  • DLA-4041-1

    python-aiohttp - security update

    CVE-2023-47627CVE-2023-47641CVE-2023-49081CVE-2023-49082 Debian Updated 20 November 2026
  • GHSA-xx9p-xxvh-7g8j

    Aiohttp has inconsistent interpretation of `Content-Length` vs. `Transfer-Encoding` differing in C and Python fallbacks

    Low CVE-2023-47641 PyPI Updated 3 November 2025
  • OESA-2023-1854

    python-aiohttp security update

    Low CVE-2023-47641 openEuler Updated 18 August 2026
  • PYSEC-2023-247

    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…

    CVE-2023-47641 PyPI Updated 22 November 2023
  • SUSE-SU-2023:4909-1

    Security update for python-aiohttp

    CVE-2023-47641 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:0577-1

    Security update for python-aiohttp, python-time-machine

    CVE-2023-47627CVE-2023-47641CVE-2024-23334CVE-2024-23829 SUSEopenSUSE Updated 4 February 2026
  • UBUNTU-CVE-2023-47641

    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…

    CVE-2023-47641 Ubuntu Updated 23 July 2026
  • openSUSE-SU-2024:13691-1

    python310-aiohttp-3.9.3-2.1 on GA media

    CVE-2023-47641CVE-2023-49081 openSUSE Updated 4 February 2026
  • openSUSE-SU-2026:11467-1

    python313-aiohttp-3.14.3-1.1 on GA media

    CVE-2021-21330CVE-2023-47627CVE-2023-47641CVE-2023-49081 openSUSE Updated 7 August 2026

References