What’s Vulnerable › Vulnerabilities
CVE-2022-29154
- Severity: high (CVSS 7.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-08-02 · updated 2026-06-17
- Weakness: CWE-20
Description
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).
Affected products
- Fedoraproject Fedora: 35, 36
- RsyncProject rsync: before 3.2.5 — fixed in 3.2.5
How to fix
Upgrade to a fixed version: RsyncProject rsync 3.2.5. Check the vendor advisory for mitigations.
References
- http://www.openwall.com/lists/oss-security/2022/08/02/1
- https://github.com/WayneD/rsync/tags
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMBOJ77A7T7PQCARMDUK75TE6LLESZ3O/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YRQAI7H4M4RQZ2IWZUEEXECBE5D56BH2/
- http://www.openwall.com/lists/oss-security/2022/08/02/1
- https://github.com/WayneD/rsync/tags
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMBOJ77A7T7PQCARMDUK75TE6LLESZ3O/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YRQAI7H4M4RQZ2IWZUEEXECBE5D56BH2/
Get alerted when CVE-2022-29154 or the next vulnerability affects your stack