What’s Vulnerable › Vulnerabilities

CVE-2023-49082: aiohttp's ClientSession is vulnerable to CRLF injection via method

Description

aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Improper validation makes it possible for an attacker to modify the HTTP request (e.g. insert a new header) or even create a new HTTP request if the attacker controls the HTTP method. The vulnerability occurs only if the attacker can control the HTTP method (GET, POST etc.) of the request. If the attacker can control the HTTP version of the request it will be able to modify the request (request smuggling). 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-49082 or the next vulnerability affects your stack