Descrizione
rsync 3.0.0 before 3.5.0 contains an out-of-bounds write vulnerability that allows attackers to corrupt memory by triggering HLINK_BUMP processing on file entries with the FLAG_HLINKED flag set while the hard-link preservation option is inactive. Attackers can exploit the missing F_SUM field in the file_struct layout to access memory past the end of the allocated structure, corrupting adjacent heap or stack data.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.2.
Versioni da aggiornare
- Samba Rsync: vulnerabili le versioni dalla
3.0.0precedenti alla3.5.0→ aggiornare alla3.5.0o successiva.
Patch e advisory
- Advisory del vendor: github.com/RsyncProject/rsync/security/advisori…
- Note di rilascio: github.com/RsyncProject/rsync/releases/tag/v3.5.0
- Advisory di terze parti: www.vulncheck.com/advisories/rsync-out-of-bounds-write…
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre la superficie esposta (disattivare servizi e funzionalità inutilizzati), mantenere attive le protezioni del sistema operativo (ASLR, DEP/NX) e segmentare la rete.
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 |
|---|---|---|---|
| Samba | Rsync | ≥ 3.0.0 < 3.5.0 | 3.5.0 |
Riferimenti
- Advisory del vendorhttps://github.com/RsyncProject/rsync/security/advisories/GHSA-gg3m-4m9m-268h
- Note di rilasciohttps://github.com/RsyncProject/rsync/releases/tag/v3.5.0
- Advisory di terze partihttps://www.vulncheck.com/advisories/rsync-out-of-bounds-write-via-flag-hlinked-handling