CVE-2022-29154
CVE-2022-29154
This page contains facts from public vulnerability sources. Check the original advisory before updating.
An issue was discovered in rsync before 3.2.5 that allows malicious remote servers to write arbitrary files inside the directories of connecting peers. The server chooses which files/directories are sent to the client. However, the rsync client performs insufficient validation of file names. A malicious rsync server (or Man-in-The-Middle attacker) can overwrite arbitrary files in the rsync client target directory and subdirectories (for example, overwrite the .ssh/authorized_keys file).
CVSS 7.4 · High · EPSS 2.3% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
rsync Debian:12
- Affected ranges
- ECOSYSTEM: < 3.2.5-1
Update to 3.2.5-1
rsync Debian:13
- Affected ranges
- ECOSYSTEM: < 3.2.5-1
Update to 3.2.5-1
rsync Debian:14
- Affected ranges
- ECOSYSTEM: < 3.2.5-1
Update to 3.2.5-1
rsync Ubuntu:Pro:14.04:LTS
- Versions
- 3.0.9-4ubuntu1
- 3.1.0-2
- 3.1.0-2ubuntu0.1
- 3.1.0-2ubuntu0.2
- 3.1.0-2ubuntu0.3
- 3.1.0-2ubuntu0.4
- 3.1.0-2ubuntu0.4+esm1
- 3.1.0-2ubuntu0.4+esm2
- 3.1.0-2ubuntu0.4+esm3
- 3.1.0-2ubuntu0.4+esm4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
rsync Ubuntu:Pro:16.04:LTS
- Versions
- 3.1.1-3
- 3.1.1-3ubuntu1
- 3.1.1-3ubuntu1.1
- 3.1.1-3ubuntu1.2
- 3.1.1-3ubuntu1.3
- 3.1.1-3ubuntu1.3+esm1
- 3.1.1-3ubuntu1.3+esm2
- 3.1.1-3ubuntu1.3+esm3
- 3.1.1-3ubuntu1.3+esm4
- 3.1.1-3ubuntu1.3+esm5
- 3.1.1-3ubuntu1.3+esm6
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
rsync Ubuntu:18.04:LTS
- Versions
- 3.1.2-2
- 3.1.2-2.1
- 3.1.2-2.1ubuntu1
- 3.1.2-2.1ubuntu1.1
- 3.1.2-2.1ubuntu1.2
- 3.1.2-2.1ubuntu1.3
- 3.1.2-2.1ubuntu1.4
- 3.1.2-2.1ubuntu1.5
- Affected ranges
- ECOSYSTEM: < 3.1.2-2.1ubuntu1.6
Update to 3.1.2-2.1ubuntu1.6
rsync Ubuntu:20.04:LTS
- Versions
- 3.1.3-6
- 3.1.3-8
- 3.1.3-8ubuntu0.1
- 3.1.3-8ubuntu0.2
- 3.1.3-8ubuntu0.3
- 3.1.3-8ubuntu0.4
- Affected ranges
- ECOSYSTEM: < 3.1.3-8ubuntu0.5
Update to 3.1.3-8ubuntu0.5
rsync Ubuntu:22.04:LTS
- Versions
- 3.2.3-4ubuntu1
- 3.2.3-4ubuntu2
- 3.2.3-8ubuntu1
- 3.2.3-8ubuntu2
- 3.2.3-8ubuntu3
- 3.2.3-8ubuntu3.1
- Affected ranges
- ECOSYSTEM: < 3.2.7-0ubuntu0.22.04.2
Update to 3.2.7-0ubuntu0.22.04.2
Original sources
- https://github.com/WayneD/rsync/tags
- http://www.openwall.com/lists/oss-security/2022/08/02/1
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YRQAI7H4M4RQZ2IWZUEEXECBE5D56BH2/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMBOJ77A7T7PQCARMDUK75TE6LLESZ3O/
- https://nvd.nist.gov/vuln/detail/CVE-2022-29154