Improper resource allocation In aiohttp
Description
AIOHTTP: Too many URL-encoded form fields block the event loop
Summary
Request.post() had no limit on the number of fields in a URL-encoded form body. Inserting a large number of repeated keys into a MultiDict took quadratic time on the event loop.
Impact
An attacker could block the event loop with a form POST within the default client_max_size to any handler that calls Request.post().
Patch: https://github.com/aio-libs/aiohttp/commit/615fec3d4f088f30d2ee72cad760152e92aa1c53
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
pypi | 3.14.4 | ||
debian 12 | - | ||
debian 13 | - | ||
debian 14 | - |
Aliases
1. 2. 3. 4. 5. 6. 7.
References
1. 2. 3. 4. 5. 6.