Descrizione
Allocation of Resources Without Limits or Throttling vulnerability in benoitc hackney allows Flooding. hackney_h3:await_response_loop/6 accumulates the HTTP/3 response body in memory without any size cap. The after Timeout clause is a per-message inactivity timer that resets on every received chunk, housekeeping message, or settings frame — it is not a wall-clock deadline. A malicious HTTP/3 server that emits one small chunk every Timeout - 1 ms with Fin = false and never sends a final frame keeps the loop alive indefinitely while the accumulation buffer grows linearly without bound, eventually exhausting the BEAM process heap and causing an out-of-memory condition. This issue affects hackney: from 2.0.0-beta.1 before 4.0.1.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.5.
Versioni da aggiornare
- Benoitc Hackney: vulnerabili le versioni dalla
2.0.0precedenti alla4.0.1→ aggiornare alla4.0.1o successiva.
Patch e advisory
- Patch: cna.erlef.org/cves/CVE-2026-47077.html
- Patch: github.com/benoitc/hackney/commit/3d25f9fea26c9…
- Patch: osv.dev/vulnerability/EEF-CVE-2026-47077
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 |
|---|---|---|---|
| Benoitc | Hackney | ≥ 2.0.0 < 4.0.1 | 4.0.1 |
Riferimenti
- Patchhttps://cna.erlef.org/cves/CVE-2026-47077.html
- Patchhttps://github.com/benoitc/hackney/commit/3d25f9fea26c90609de9d64366fedfe5065413bc
- Exploit pubblicohttps://github.com/benoitc/hackney/security/advisories/GHSA-jq4m-q6p2-8gwc
- Patchhttps://osv.dev/vulnerability/EEF-CVE-2026-47077
- Exploit pubblicohttps://github.com/benoitc/hackney/security/advisories/GHSA-jq4m-q6p2-8gwc
- Riferimentohttps://github.com/benoitc/hackney/commit/0334af206d5099fdf510ed9eda18e34396f065ad