Descrizione
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, when the pipelined request queue is full, the pure-Python parser stores the unparsed remainder internally and also returns the same data to its caller. After a handler declines an upgrade request, the caller feeds the remainder back to the parser, causing the buffer to grow with each handled request and dispatching already-handled requests to the application again. The issue affects deployments using AIOHTTP_NO_EXTENSIONS or otherwise running without the standard C-extension wheel, and can cause excessive memory use and repeated request processing. This issue is fixed in version 3.14.4.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.3, EPSS 0.4% (percentile 37).
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/47babd8c23ca79e2bae6cc8dcb5752b61e369fc7
- Riferimentohttps://github.com/aio-libs/aiohttp/commit/72eaa429cf89b1e20212590f3e704444239569fb
- Riferimentohttps://github.com/aio-libs/aiohttp/pull/13356
- Riferimentohttps://github.com/aio-libs/aiohttp/pull/13360
- Riferimentohttps://github.com/aio-libs/aiohttp/releases/tag/v3.14.4
- Riferimentohttps://github.com/aio-libs/aiohttp/security/advisories/GHSA-28qf-cpwq-vmc2