Rsync: path traversal vulnerability in rsync
A path traversal vulnerability exists in rsync. It stems from behavior enabled by the `--inc-recursive` option, a default-enabled option for many client options and can be enabled by the server even if not explicitly enabled by the client. When using the `--inc-recursive` option, a lack of proper symlink verification coupled with deduplication checks occurring on a per-file-list basis could allow a server to write files outside of the client's intended destination directory. A malicious server could write malicious files to arbitrary locations named after valid directories/paths on the client.
describes (4)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2024-12084US | — | Exploit | ||
A heap-based buffer overflow flaw was found in the rsync daemon. This issue is due to improper handling of attacker-controlled checksum lengths (s2length) in the code. When MAX_DIG… | ||||
| CVE-2024-12088US | high7.5 | — | ||
A flaw was found in rsync. When using the `--safe-links` option, the rsync client fails to properly verify if a symbolic link destination sent from the server contains another symb… | ||||
| CVE-2024-12086US | medium6.8 | — | ||
A flaw was found in rsync. It could allow a server to enumerate the contents of an arbitrary file from the client's machine. This issue occurs when files are being copied from a cl… | ||||
| CVE-2024-12085US | — | Exploit | ||
A flaw was found in rsync which could be triggered when rsync compares file checksums. This flaw allows an attacker to manipulate the checksum length (s2length) to cause a comparis… | ||||
references
External citations — patches, advisories, analysis.
- https://access.redhat.com/downloads/content/package-browser/WEB
- https://access.redhat.com/errata/RHBA-2025:6470ADVISORY
- https://access.redhat.com/errata/RHSA-2025:23154ADVISORY
- https://access.redhat.com/errata/RHSA-2025:23235ADVISORY
- https://access.redhat.com/errata/RHSA-2025:23407ADVISORY
- https://access.redhat.com/errata/RHSA-2025:23415ADVISORY
- https://access.redhat.com/errata/RHSA-2025:23416ADVISORY
- https://access.redhat.com/errata/RHSA-2025:23842ADVISORY
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan