RsyncProject rsync
rsync < 3.5.0 TOCTOU Race Condition Directory Escape via rrsync
rsync before 3.5.0 contains a time-of-check to time-of-use (TOCTOU) race condition vulnerability in the rrsync restricted shell wrapper that allows authenticated clients to escape enforced directory restrictions by substituting a symlink for a path component after validation but before transfer processing. Attackers can additionally leverage unrestricted flags such as --copy-unsafe-links, -D, and --log-file through rrsync to read or write files outside the permitted directory subtree.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.6high · scored by CNA · CWE-59
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
RsyncProject rsync
- <= 3.4.4
Fixed in 3.5.0
Mitigation
Upgrade rsync to 3.5.0 or later.
References
- Vendor advisory github.com/RsyncProject/rsync/security/advisor…
- Release notes github.com/RsyncProject/rsync/releases/tag/v3.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.