{"id":"CVE-2023-37276","published":"2023-07-19T19:39:19Z","modified":"2024-10-18T17:14:03Z","title":"aiohttp vulnerable to HTTP request smuggling","vendor":"aio-libs","product":"aiohttp","tier":"tail","description":{"text":"aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. aiohttp v3.8.4 and earlier are bundled with llhttp v6.0.6. Vulnerable code is used by aiohttp for its HTTP request parser when available which is the default case when installing from a wheel. This vulnerability only affects users of aiohttp as an HTTP server (ie `aiohttp.Application`), you are not affected by this vulnerability if you are using aiohttp as an HTTP client library (ie `aiohttp.ClientSession`). Sending a crafted HTTP request will cause the server to misinterpret one of the HTTP header values leading to HTTP request smuggling. This issue has been addressed in version 3.8.5. Users are advised to upgrade. Users unable to upgrade can reinstall aiohttp using `AIOHTTP_NO_EXTENSIONS=1` as an environment variable to disable the llhttp HTTP request parser implementation. The pure Python implementation isn't vulnerable.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01337,"percentile":0.71929,"provenance":"source"},"cwes":[{"id":"CWE-444","name":"Inconsistent Interpretation of HTTP Requests"}],"references":[{"url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-45c4-8wx5-qw6w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/aio-libs/aiohttp/commit/9337fb3f2ab2b5f38d7e98a194bde6f7e3d16c40","tags":["x_refsource_MISC"]},{"url":"https://hackerone.com/reports/2001873","tags":["x_refsource_MISC"]},{"url":"https://github.com/aio-libs/aiohttp/blob/v3.8.4/.gitmodules","tags":["x_refsource_MISC"]}],"priority":{"score":18.1,"factors":[{"name":"EPSS percentile","points":14.39},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"aio-libs","affectedVersions":[{"vendor":"aio-libs","product":"aiohttp","versions":["< 3.8.5"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-10-18T16:05:51.434153Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"aiohttp","vulnerableRanges":["<3.8.5"],"patched":["3.8.5"],"from":["GHSA-45c4-8wx5-qw6w","PYSEC-2023-120"],"provenance":"source"}],"summary":{"text":"A flaw in the llhttp HTTP request parser bundled with aiohttp (v3.8.4 and earlier, the default for wheel installs) causes the server to misinterpret certain HTTP header values, enabling HTTP request smuggling. An attacker can exploit it by sending a crafted HTTP request over the network to an aiohttp server (aiohttp.Application) without authentication or user interaction, and the issue does not affect deployments using aiohttp only as a client.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:43:03Z"},"euvd":{"id":"EUVD-2023-0003","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-21330","published":"2021-02-26","fixed":"3.7.4","kev":false},{"cve":"CVE-2023-47641","published":"2023-11-14","fixed":"3.8.0","kev":false},{"cve":"CVE-2023-37276","published":"2023-07-19","fixed":"3.8.5","kev":false},{"cve":"CVE-2023-47627","published":"2023-11-14","fixed":"3.8.6","kev":false,"link":{"from":"CVE-2023-37276","to":"CVE-2023-47627","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:aiohttp","fromFixed":"3.8.5","toFixed":"3.8.6","daysApart":118}]}},{"cve":"CVE-2023-49081","published":"2023-11-30","fixed":"3.9.0","kev":false},{"cve":"CVE-2023-49082","published":"2023-11-29","fixed":"3.9.0","kev":false}],"package":"PyPI:aiohttp"}}