rsync < 3.5.0 Path Traversal Write Escape via --relative Mode
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 path traversal vulnerability that allows a malicious sender to write files outside the intended destination directory tree by crafting relative paths with symlink components in --relative mode. The make_path() function follows symlinks pointing outside the destination tree while creating intermediate directories without verifying that created paths remain within the destination boundary, enabling arbitrary file writes on the receiver's filesystem.
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