Vulnerabilities · 2023 · Aiohttp
CVE-2023-37276
Aiohttp vulnerability
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.
Affected products
Aiohttp. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Aiohttp runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/aio-libs/aiohttp/security/advisories/GHSA-45c4-8wx5-qw6w · Exploit
- github.com/aio-libs/aiohttp/commit/9337fb3f2ab2b5f38d7e98a194bde6f7e3d16c40 · Patch
- hackerone.com/reports/2001873 · Exploit
- github.com/aio-libs/aiohttp/blob/v3.8.4/.gitmodules
- nvd.nist.gov/vuln/detail/CVE-2023-37276
- github.com/aio-libs/aiohttp/commit/9c13a52c21c23dfdb49ed89418d28a5b116d0681
- github.com/aio-libs/aiohttp
- github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2023-120.yaml
- nvd.nist.gov/vuln/detail/CVE-2023-37276
- cve.org/CVERecord?id=CVE-2023-37276
More vulnerabilities in Aiohttp products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.