Descrizione
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, the WebSocket reader continues parsing frames already received after the receive queue pauses the transport, and empty messages are not counted toward the queue size. With permessage-deflate, one read of compressed frames can add many megabytes of decompressed messages to the receive queue. A remote peer can send many small or compressed messages faster than the application consumes them and cause excessive memory use in a server or client. This issue is fixed in version 3.14.4.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.7, EPSS 0.4% (percentile 39).
Versioni da aggiornare
- aio-libs aiohttp: vulnerabile la versione
< 3.14.4→ installare l'ultima release supportata dal vendor.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Applicare rate limiting e limiti sulle risorse a monte del servizio e monitorarne la disponibilità.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| aio-libs | aiohttp | < 3.14.4 | — |
Riferimenti
- Riferimentohttps://github.com/aio-libs/aiohttp/commit/0ae507423f681161efa77d20052b4054397c7fb6
- Riferimentohttps://github.com/aio-libs/aiohttp/commit/5e54037933fa8422be5fa8a2002d118ed2d4e5e0
- Riferimentohttps://github.com/aio-libs/aiohttp/commit/b62321b6fa264a89f4aca084ad60fc38a59ffa51
- Riferimentohttps://github.com/aio-libs/aiohttp/pull/13393
- Riferimentohttps://github.com/aio-libs/aiohttp/pull/13545
- Riferimentohttps://github.com/aio-libs/aiohttp/pull/13546
- Riferimentohttps://github.com/aio-libs/aiohttp/releases/tag/v3.14.4
- Riferimentohttps://github.com/aio-libs/aiohttp/security/advisories/GHSA-5rmc-48h2-hvcm