cve.bz

CVE-2023-47641 aiohttp aiohttp: HTTP Request Smuggling

6.5 mediumExploit referenceEPSS 1.0%Fix available

Medium (6.5) in aiohttp aiohttp. EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in aiohttp 3.8.0.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS
1.0% (unchanged from 1.0% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 62nd percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-08-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-444 Inconsistent Interpretation of HTTP Requests (HTTP Request Smuggling)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-47641 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-47641?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-47641?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-47641 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
aiohttp:aiohttpbefore 3.8.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xx9p-xxvh-7g8jPyPIaiohttp<3.8.03.8.0
PYSEC-2023-247PyPIaiohttp<3.8.03.8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11python-aiohttp3.7.4-1+deb11u1DLA-4041-1
Debian12, 13, 14python-aiohttp3.8.1-1DEBIAN-CVE-2023-47641
UbuntuPro:16.04:LTS, Pro:18.04:LTS, Pro:20.04:LTSpython-aiohttpno fix listedUBUNTU-CVE-2023-47641
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Python 3 15 SP5 and 2 morepython-aiohttp3.9.3-150400.10.14.1SUSE-SU-2024:0577-1
SUSELinux Enterprise Module for Public Cloud 15 SP1, Linux Enterprise Module for Public Cloud 15 SP2, Linux Enterprise Module for Public Cloud 15 SP3 and 2 morepython-aiohttp3.6.0-150100.3.12.1SUSE-SU-2023:4909-1
openSUSELeap 15.4, Leap 15.5python-aiohttp3.6.0-150100.3.12.1SUSE-SU-2023:4909-1
openSUSELeap 15.5python-aiohttp3.9.3-150400.10.14.1SUSE-SU-2024:0577-1
openSUSETumbleweedpython-aiohttp3.14.3-1.1openSUSE-SU-2026:11467-1
openSUSETumbleweedpython-aiohttp3.9.3-2.1openSUSE-SU-2024:13691-1
Azure Linux2python-aiohttpno fix listedAZL-43519
Azure Linux3python-aiohttpno fix listedAZL-44538

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

In order for actual exploitation of this flaw an open redirect flaw would have to be present to chain this, that is why Redhat has marked this vulnerability's attack complexity as high and since open redirect would need user interaction for exploitation CVSS for it has been marked as such.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2python3x-aiohttpNot affected
Red Hat Ansible Automation Platform 2python-aiohttpNot affected
Red Hat Satellite 6python-aiohttpNot affected
Red Hat Update Infrastructure 4 for Cloud Providerspython-aiohttpNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-47641.

Attack patterns (CAPEC)

  • CAPEC-33 HTTP Request Smuggling Likelihood: Medium · Severity: High
  • CAPEC-273 HTTP Response Smuggling Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON