aiohttp@3.10.9 vulnerabilities

Async http client/server framework (asyncio)

Direct Vulnerabilities

Known vulnerabilities in the aiohttp package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Missing Release of Resource after Effective Lifetime

Affected versions of this package are vulnerable to Missing Release of Resource after Effective Lifetime by creating a unique cache entry for each MatchInfoError when a request method is not allowed. This can lead to unbounded cache growth, resulting in a memory leak.

How to fix Missing Release of Resource after Effective Lifetime?

Upgrade aiohttp to version 3.10.11 or higher.

[3.10.6,3.10.11)
  • M
HTTP Request Smuggling

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.

How to fix HTTP Request Smuggling?

Upgrade aiohttp to version 3.10.11 or higher.

[,3.10.11)