Descrizione
Using libcurl, when a custom `Host:` header is first set for an HTTP request and a second request is subsequently done using the same *easy handle* but without the custom `Host:` header set, the second request would use stale information and pass on cookies meant for the first host in the second request. Leak them.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.5.
Versioni da aggiornare
- Haxx Curl: vulnerabili le versioni dalla
7.71.0precedenti alla8.20.0→ aggiornare alla8.20.0o successiva.
Patch e advisory
- Patch: curl.se/docs/CVE-2026-6276.html
- Advisory di terze parti: www.openwall.com/lists/oss-security/2026/04/29/13
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Verificare quali dati risultano esposti e ruotare eventuali segreti (token, password, chiavi) potenzialmente compromessi.
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 |
|---|---|---|---|
| Haxx | Curl | ≥ 7.71.0 < 8.20.0 | 8.20.0 |
Riferimenti
- Patchhttps://curl.se/docs/CVE-2026-6276.html
- Exploit pubblicohttps://hackerone.com/reports/3671818
- Advisory di terze partihttp://www.openwall.com/lists/oss-security/2026/04/29/13
- Exploit pubblicohttps://hackerone.com/reports/3671818
- Riferimentohttps://curl.se/docs/CVE-2026-6276.json