CVE-2023-37276
Vulnerable code is used by aiohttp for its HTTP request parser when available which is the default case when installing from a wheel.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.34%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS
- 1.34% probability · 70th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-444
- Affected
- aiohttp/aiohttp
- Source
- security-advisories@github.com
References
- https://github.com/aio-libs/aiohttp/blob/v3.8.4/.gitmodulesProduct
- https://github.com/aio-libs/aiohttp/commit/9337fb3f2ab2b5f38d7e98a194bde6f7e3d16c40Patch
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-45c4-8wx5-qw6wExploit, Mitigation, Vendor Advisory
- https://hackerone.com/reports/2001873Exploit, Third Party Advisory
- https://github.com/aio-libs/aiohttp/blob/v3.8.4/.gitmodulesProduct
- https://github.com/aio-libs/aiohttp/commit/9337fb3f2ab2b5f38d7e98a194bde6f7e3d16c40Patch
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-45c4-8wx5-qw6wExploit, Mitigation, Vendor Advisory
- https://hackerone.com/reports/2001873Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.