Descrizione
rsync 3.0.1 before 3.5.0 contains an out-of-bounds write vulnerability in the read_args() function that allows a malicious sender to corrupt adjacent heap memory by sending a crafted argument list. When the argument count causes the argv allocation to be exactly full, the trailing NULL terminator is written one slot beyond the allocation boundary, corrupting adjacent heap memory.
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.1precedenti 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-heap-out-of-bounds-…
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.1 < 3.5.0 | 3.5.0 |
Riferimenti
- Advisory del vendorhttps://github.com/RsyncProject/rsync/security/advisories/GHSA-78jc-79jv-v6rw
- Note di rilasciohttps://github.com/RsyncProject/rsync/releases/tag/v3.5.0
- Advisory di terze partihttps://www.vulncheck.com/advisories/rsync-heap-out-of-bounds-write-via-read-args