A path traversal vulnerability exists in rsync. It stems from behavior enabled by the `--inc-recursive` option, a default-enabled option for many clie...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSrsync |
< 3.1.0-2ubuntu0.4+esm1→ 3.1.0-2ubuntu0.4+esm1 |
3.1.0-2ubuntu0.4+esm1 |
| Ubuntu:Pro:16.04:LTSrsync |
< 3.1.1-3ubuntu1.3+esm3→ 3.1.1-3ubuntu1.3+esm3 |
3.1.1-3ubuntu1.3+esm3 |
| Ubuntu:Pro:18.04:LTSrsync |
< 3.1.2-2.1ubuntu1.6+esm1→ 3.1.2-2.1ubuntu1.6+esm1 |
3.1.2-2.1ubuntu1.6+esm1 |
| Ubuntu:20.04:LTSrsync |
< 3.1.3-8ubuntu0.8→ 3.1.3-8ubuntu0.8 |
3.1.3-8ubuntu0.8 |
| Ubuntu:22.04:LTSrsync |
< 3.2.7-0ubuntu0.22.04.3→ 3.2.7-0ubuntu0.22.04.3 |
3.2.7-0ubuntu0.22.04.3 |
| Ubuntu:24.04:LTSrsync |
< 3.2.7-1ubuntu1.1→ 3.2.7-1ubuntu1.1 |
3.2.7-1ubuntu1.1 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report kb.cert.org