Résumé
AIOHTTP: Concatenated compressed streams cause excessive CPU use
Détails de l’avis
Summary
When decompressing a payload made up of many concatenated compressed members (gzip, deflate or zstd), each member was decoded by passing the entire remaining input to a new decompressor, resulting in quadratic CPU time. Empty members produce no output, so client_max_size and output backpressure did not limit the work.
Impact
An attacker could block the event loop of a server with a specially crafted compressed request body or WebSocket message. A malicious server could do the same to a client.
Patch: https://github.com/aio-libs/aiohttp/commit/d925a80539ffd227da1d93ab4a5bff123cc777db
Références
- https://github.com/advisories/GHSA-h4cc-hm5h-fmm9
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-h4cc-hm5h-fmm9
- https://nvd.nist.gov/vuln/detail/CVE-2026-128131
- https://github.com/aio-libs/aiohttp/pull/13362
- https://github.com/aio-libs/aiohttp/pull/13391
- https://github.com/aio-libs/aiohttp/commit/d041d4d0fd48c3f0832084d33be16cf1c4835f85
- https://github.com/aio-libs/aiohttp/commit/d925a80539ffd227da1d93ab4a5bff123cc777db
- https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4
Vulnérabilités liées
Tout Supply chain →- MEDIUMCVE-2026-132277
Inscriptis: Quadratic memory growth from sibling <table> elements in get_text()
- HIGHCVE-2026-128139
NLTK: XMLCorpusView comment and CDATA parsing permits quadratic CPU denial of service
- MEDIUMCVE-2026-129231
NLTK: Quadratic-time DoS in SeekableUnicodeStreamReader.readline on an unterminated corpus line via per-iteration full-buffer rescan
- MEDIUMCVE-2026-129232
NLTK: Quadratic CPU exhaustion in NLTK XMLCorpusView.read_block via deeply nested XML corpus tags
- HIGHCVE-2026-97698
Mistune: Quadratic-time DoS in parse_link_href via unbounded parenthesis scan on empty-label links
- HIGHCVE-2026-97699
Mistune: Quadratic-time DoS in inline image parsing (precedence_scan) bypasses not-is-image guards