Aiohttp · Aiohttp · CVE-2023-47627
**Name of the Vulnerable Software and Affected Versions**
aiohttp versions prior to 3.8.6
**Description**
The HTTP parser in aiohttp has numerous problems with header parsing, which could lead to request smuggling. This issue is related to the handling of `Content-Length` values, improper handling of NUL, CR, and LF in header values, and improper stripping of whitespace before colon in HTTP headers. The parser is only used when `AIOHTTP NO EXTENSIONS` is enabled.
**Recommendations**
For versions prior to 3.8.6, upgrade to version 3.8.6 or later to address the issue. As a temporary workaround, consider disabling the use of `AIOHTTP NO EXTENSIONS` to prevent the vulnerable parser from being used. Reject all messages with NUL, CR, or LF in a header value and reject all messages with whitespace before a colon in a header field. Verify that a `Content-Length` value consists only of ASCII digits before parsing.