Descrizione
Allocation of Resources Without Limits or Throttling vulnerability in benoitc hackney allows Flooding. The URL parser in src/hackney_url.erl converts every unrecognized URL scheme to a permanent BEAM atom via binary_to_atom/2. BEAM atoms are never garbage-collected and the atom table defaults to a hard limit of 1,048,576 entries. An attacker who can supply URLs with attacker-chosen scheme prefixes — directly as request targets, as configured webhook URLs, or via Location headers followed during redirects — can exhaust the atom table and crash the entire BEAM VM with system_limit. This issue affects hackney: from 2.0.0 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-47067.html
- Patch: github.com/benoitc/hackney/commit/31f6f0e27e096…
- Patch: osv.dev/vulnerability/EEF-CVE-2026-47067
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-47067.html
- Patchhttps://github.com/benoitc/hackney/commit/31f6f0e27e096ad88743dfded4f030a3ee74972e
- Exploit pubblicohttps://github.com/benoitc/hackney/security/advisories/GHSA-9653-rcfr-5c62
- Patchhttps://osv.dev/vulnerability/EEF-CVE-2026-47067
- Exploit pubblicohttps://github.com/benoitc/hackney/security/advisories/GHSA-9653-rcfr-5c62
- Riferimentohttps://github.com/benoitc/hackney/commit/d9713695c0d99855d12c73fd8a0b4be0543950c4