What’s Vulnerable › Vulnerabilities

CVE-2023-49081: aiohttp's ClientSession is vulnerable to CRLF injection via version

Description

aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Improper validation made it possible for an attacker to modify the HTTP request (e.g. to insert a new header) or create a new HTTP request if the attacker controls the HTTP version. The vulnerability only occurs if the attacker can control the HTTP version of the request. This issue has been patched in version 3.9.0.

Affected products

How to fix

Upgrade to a fixed version: aio-libs aiohttp 3.9.0; Pypi Aiohttp 3.9.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-49081 or the next vulnerability affects your stack