SecurityContext

CVE-2023-47641: aiohttp - HTTP Request Smuggling

  • Cve: CVE-2023-47641
  • Name: aiohttp - HTTP Request Smuggling
  • 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.
  • Impact: Attackers can poison sockets, bypass proxy rules, manipulate requests, and potentially redirect users to malicious sites.
  • Remediation: Upgrade to version 3.8.0 or later.
  • Vulnerability type: http_request_smuggling
  • Vulnerability impact: data_tampering, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
  • Epss score: 0.00959
  • Epss percentile: 0.62385
  • Assignee: [email protected]
  • Published at: 2023-11-14T21:15:13Z
  • Age in days: 1106
  • Modified at: 2026-06-17T06:33:02Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-47641
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-444Inconsistent Interpretation of HTTP Requests

Public exploits

UrlSourceAdded date
https://github.com/aio-libs/aiohttp/security/advisories/GHSA-xx9p-xxvh-7g8jnvd2023-11-14

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/aio-libs/aiohttp/commit/f016f0680e4ace6742b03a70cb0382ce86abe371Patch
https://github.com/aio-libs/aiohttp/security/advisories/GHSA-xx9p-xxvh-7g8jExploit, Patch, Vendor Advisory
https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html

Products

ProductAffectedPlatform boundSourcesUrl
aiohttp:aiohttp< 3.8.0nonvd/v1/products/aiohttp/aiohttp

Projects

RepositoryLink kindsIndexedUrl
aio-libs/aiohttpcommit, fix, package, releases, security_advisoryyes/v1/repositories/aio-libs/aiohttp

Index

  • Repositories: 929
  • Repositories high signal: 621
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2023-11-14
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts