Descrizione
libcurl might in some circumstances reuse the wrong connection for SMB(S) transfers. libcurl features a pool of recent connections so that subsequent requests can reuse an existing connection to avoid overhead. When reusing a connection a range of criteria must be met. Due to a logical error in the code, a network transfer operation that was requested by an application could wrongfully reuse an existing SMB connection to the same server that was using a different "share" than the new subsequent transfer should. This could in unlucky situations lead to the download of the wrong file or the upload of a file to the wrong place. When this happens, the same credentials are used and the server name is the same.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.5.
Versioni da aggiornare
- Haxx Curl: vulnerabili le versioni dalla
7.40.0precedenti alla8.20.0→ aggiornare alla8.20.0o successiva.
Patch e advisory
- Patch: curl.se/docs/CVE-2026-5773.html
- Patch: www.openwall.com/lists/oss-security/2026/04/29/9
- Advisory del vendor: curl.se/docs/CVE-2026-5773.json
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Applicare filtri sul traffico in uscita del server e bloccare l'accesso agli endpoint di metadati cloud (169.254.169.254).
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.40.0 < 8.20.0 | 8.20.0 |
Riferimenti
- Patchhttps://curl.se/docs/CVE-2026-5773.html
- Patchhttp://www.openwall.com/lists/oss-security/2026/04/29/9
- Advisory del vendorhttps://curl.se/docs/CVE-2026-5773.json
- Exploit pubblicohttps://hackerone.com/reports/3650689
- Exploit pubblicohttps://hackerone.com/reports/3650689