AIOHTTP: Base64 multipart parts bypass client_max_size
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, BodyPartReader.read_chunk() processing a multipart part with Content-Transfer-Encoding set to base64 keeps reading until the chunk length is a multiple of four without enforcing a byte limit. A short Content-Length or a long run of whitespace can cause one call to read the remaining body into memory before the size check or spin on the event loop. A remote attacker can send such a multipart request to a handler that reads multipart data and bypass client_max_size. 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