Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Aiohttp | Aiohttp | <= 3.8.4 |
Related Weaknesses (CWE)
References
- https://github.com/aio-libs/aiohttp/blob/v3.8.4/.gitmodulesProduct
- https://github.com/aio-libs/aiohttp/commit/9337fb3f2ab2b5f38d7e98a194bde6f7e3d16Patch
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-45c4-8wx5-qw6wExploitMitigationVendor Advisory
- https://hackerone.com/reports/2001873ExploitThird Party Advisory
- https://github.com/aio-libs/aiohttp/blob/v3.8.4/.gitmodulesProduct
- https://github.com/aio-libs/aiohttp/commit/9337fb3f2ab2b5f38d7e98a194bde6f7e3d16Patch
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-45c4-8wx5-qw6wExploitMitigationVendor Advisory
- https://hackerone.com/reports/2001873ExploitThird Party Advisory
FAQ
What is CVE-2023-37276?
CVE-2023-37276 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 parse...
How severe is CVE-2023-37276?
CVE-2023-37276 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-37276?
Check the references section above for vendor advisories and patch information. Affected products include: Aiohttp Aiohttp.