rsync < 3.5.0 TOCTOU Race Condition Directory Escape via rrsync
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in rsync 3.5.0.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| RsyncProject | <=3.4.4 | ||
| Samba | rsync | <3.5.0 | 3.5.0 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Samba, strongest first
Embed
A live severity badge for an advisory, README or ticket