HTTP Request Smuggling Affecting aiohttp package, versions [,3.10.11)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-AIOHTTP-8383923
  • published19 Nov 2024
  • disclosed18 Nov 2024
  • creditJeppe Bonde Weikop

Introduced: 18 Nov 2024

CVE-2024-52304  (opens in a new tab)
CWE-444  (opens in a new tab)

How to fix?

Upgrade aiohttp to version 3.10.11 or higher.

Overview

Affected versions of this package are vulnerable to HTTP Request Smuggling due to incorrect parsing of newlines in chunk extensions via the feed_data function. An attacker can bypass firewall or proxy protections by sending specially crafted requests.

Note:

Exploiting this vulnerability is possible when a pure Python version of aiohttp is installed (Without the usual C extensions) or AIOHTTP_NO_EXTENSIONS is enabled.

References

CVSS Scores

version 4.0
version 3.1