AIOHTTP: Concatenated compressed streams cause excessive CPU use
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.14.4 and aiohttp 3.14.4.
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, aiohttp decompresses each member of a payload containing many concatenated gzip, deflate, or zstd streams by passing the entire remaining input to a new decompressor, causing quadratic CPU use. Empty members produce no output, so client_max_size and output backpressure do not limit the work. A remote attacker can block a server event loop with a crafted compressed request body or WebSocket message, and a malicious server can similarly block a client. This issue is fixed in version 3.14.4.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| aio-libs | <3.14.4 | ||
| aiohttp | aiohttp | <3.14.4 | 3.14.4 |
| pypi: aiohttp | <3.14.4, <=3.14.3 | 3.14.4 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in aiohttp (PyPI), strongest first
Embed
A live severity badge for an advisory, README or ticket