Descrizione
rsync before 3.5.2 contains a denial of service vulnerability in the delta-transfer sender's hash_search() in match.c that allows malicious receivers to trigger unbounded strong-checksum work at consecutive offsets. Unauthenticated attackers pulling from a public daemon module can supply weak checksums colliding with consecutive rolling windows plus non-matching strong checksums, exhausting sender CPU across concurrent connections.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.5, EPSS 0.6% (percentile 50).
Versioni da aggiornare
- Samba Rsync: vulnerabili le versioni fino alla
3.5.1inclusa → aggiornare a una release successiva alla3.5.1.
Patch e advisory
- Patch: github.com/RsyncProject/rsync/blob/a7404a9a633c…
- Patch: github.com/RsyncProject/rsync/commit/a7404a9a63…
- Patch: github.com/RsyncProject/rsync/pull/1132
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 |
|---|---|---|---|
| Samba | Rsync | ≤ 3.5.1 | — |
Riferimenti
- Patchhttps://github.com/RsyncProject/rsync/blob/a7404a9a633cff28ee1602f328b9c3fa69cdbd04/testsuite/hashsearch-collision-skip_test.py
- Patchhttps://github.com/RsyncProject/rsync/commit/a7404a9a633cff28ee1602f328b9c3fa69cdbd04
- Patchhttps://github.com/RsyncProject/rsync/pull/1132
- Riferimentohttps://github.com/RsyncProject/rsync/releases/tag/v3.5.2
- Riferimentohttps://www.vulncheck.com/advisories/rsync-denial-of-service-via-hash-search-checksum-collisions