Bug 1213511 (CVE-2023-37276)

Summary: VUL-0: CVE-2023-37276: python-aiohttp: HTTP request smuggling via llhttp HTTP request parser
Product: [Novell Products] SUSE Security Incidents Reporter: Stoyan Manolov <stoyan.manolov>
Component: IncidentsAssignee: SUSE Public Cloud Maintainer <public-cloud-maintainers>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: adrian.glaubitz, meissner, public-cloud-maintainers, sean.marlow, security-team
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/373006/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-37276:5.3:(AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stoyan Manolov 2023-07-20 11:18:02 UTC
CVE-2023-37276

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.

Reference:

https://github.com/aio-libs/aiohttp/security/advisories/GHSA-45c4-8wx5-qw6w

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-37276
https://bugzilla.redhat.com/show_bug.cgi?id=2224185
https://www.cve.org/CVERecord?id=CVE-2023-37276
https://github.com/aio-libs/aiohttp/blob/v3.8.4/.gitmodules
https://github.com/aio-libs/aiohttp/commit/9337fb3f2ab2b5f38d7e98a194bde6f7e3d16c40
https://github.com/aio-libs/aiohttp/security/advisories/GHSA-45c4-8wx5-qw6w
https://hackerone.com/reports/2001873
Comment 4 Sean Marlow 2023-10-12 19:01:57 UTC
This does not affect SUSE:SLE-15-SP1:Update / python-aiohttp.

The CVE is for the vendored package llhttp which was added in 3.8.0. The version in SUSE:SLE-15-SP1:Update is 3.6.0 and thus doesn't even have llhtp vendored.
Comment 5 Sean Marlow 2023-10-12 19:03:15 UTC
Details found in project changelog https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst#380-2021-10-31
Comment 12 Marcus Meissner 2023-10-24 11:34:50 UTC
ALP version is not affected anymore.