Descrizione
Improper Neutralization of CRLF Sequences vulnerability in benoitc hackney allows HTTP Request Splitting. hackney does not percent-encode carriage return (\r) or line feed (\n) characters in the URL query component before constructing the HTTP/1.1 request target. Characters outside the grammar defined in RFC 3986 Section 3.4 must be percent-encoded, but hackney_url:make_url/3 passes the query binary directly without validation or escaping. An attacker who can control all or part of a URL passed to hackney can inject raw CRLF sequences into the query string, which are then sent as HTTP line breaks in the request target. This enables injection of arbitrary HTTP headers or splitting of the HTTP request. This issue affects hackney: from 0.1.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 precedenti alla
4.0.1→ aggiornare alla4.0.1o successiva.
Patch e advisory
- Patch: cna.erlef.org/cves/CVE-2026-47075.html
- Patch: github.com/benoitc/hackney/commit/ca73dd0aba0ed…
- Patch: osv.dev/vulnerability/EEF-CVE-2026-47075
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.
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 | < 4.0.1 | 4.0.1 |
Riferimenti
- Patchhttps://cna.erlef.org/cves/CVE-2026-47075.html
- Patchhttps://github.com/benoitc/hackney/commit/ca73dd0aba0ed557449c18288bf07241671a43c9
- Exploit pubblicohttps://github.com/benoitc/hackney/security/advisories/GHSA-j9wq-vxxc-94wf
- Patchhttps://osv.dev/vulnerability/EEF-CVE-2026-47075
- Exploit pubblicohttps://github.com/benoitc/hackney/security/advisories/GHSA-j9wq-vxxc-94wf
- Riferimentohttps://github.com/benoitc/hackney/commit/8bb1a359a81ae58567c84f8d24564e9742e6f2bd