{"id":"CVE-2022-29154","details":"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).","modified":"2026-04-10T04:47:08.697373Z","published":"2022-08-02T15:15:08.520Z","related":["ALSA-2022:6180","MGASA-2022-0302","SUSE-RU-2023:3370-1","SUSE-SU-2022:2825-1","SUSE-SU-2022:2858-1","SUSE-SU-2022:2859-1","SUSE-SU-2022:2959-1","SUSE-SU-2022:2959-2","openSUSE-SU-2024:12232-1"],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMBOJ77A7T7PQCARMDUK75TE6LLESZ3O/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YRQAI7H4M4RQZ2IWZUEEXECBE5D56BH2/"},{"type":"ADVISORY","url":"https://github.com/WayneD/rsync/tags"},{"type":"FIX","url":"http://www.openwall.com/lists/oss-security/2022/08/02/1"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.samba.org/rsync.git","events":[{"introduced":"0"},{"fixed":"0e10163a9d984a8858f7d83b5c7b46889536aa96"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"3.2.5"}]}}],"versions":["mbp_bk_export0","v1.6.4","v1.6.5","v1.6.6","v1.6.7","v1.6.8","v1.6.9","v1.7.0","v1.7.1","v1.7.2","v1.7.3","v1.7.4","v2.0.0","v2.0.1","v2.0.10","v2.0.11","v2.0.12","v2.0.13","v2.0.14","v2.0.15","v2.0.16","v2.0.17","v2.0.18","v2.0.19","v2.0.2","v2.0.3","v2.0.4","v2.0.5","v2.0.6","v2.0.7","v2.0.8","v2.0.9","v2.1.0","v2.1.1","v2.2.0","v2.2.1","v2.3.0","v2.3.1","v2.3.2","v2.4.0","v2.4.1","v2.4.2","v2.4.3","v2.4.4","v2.4.5","v2.4.6","v2.4.7pre2","v2.4.7pre4","v2.5.0","v2.5.1","v2.5.1pre1","v2.5.1pre2","v2.5.1pre3","v2.5.2","v2.5.2pre1","v2.5.2pre2","v2.5.2pre3","v2.5.3","v2.5.3pre1","v2.5.4","v2.5.4pre1","v2.5.5","v2.5.5.rc1","v2.5.6","v2.6.0","v2.6.0pre1","v2.6.0pre2","v2.6.1","v2.6.1pre1","v2.6.1pre2","v2.6.2","v2.6.2pre1","v2.6.3","v2.6.3pre1","v2.6.3pre2","v2.6.4","v2.6.4pre1","v2.6.4pre2","v2.6.4pre3","v2.6.4pre4","v2.6.5","v2.6.5pre1","v2.6.5pre2","v2.6.6pre1","v2.6.7","v2.6.7pre1","v2.6.7pre2","v2.6.7pre3","v2.6.8","v2.6.8pre1","v2.6.9","v2.6.9pre1","v2.6.9pre2","v2.6.9pre3","v3.0.0","v3.0.0pre1","v3.0.0pre10","v3.0.0pre2","v3.0.0pre3","v3.0.0pre4","v3.0.0pre5","v3.0.0pre6","v3.0.0pre7","v3.0.0pre8","v3.0.0pre9","v3.0.1","v3.0.1pre1","v3.0.1pre2","v3.0.1pre3","v3.0.2","v3.0.3","v3.0.3pre1","v3.0.3pre2","v3.0.3pre3","v3.1.0","v3.1.0pre1","v3.1.1","v3.1.1pre1","v3.1.1pre2","v3.1.2","v3.1.2pre1","v3.1.3","v3.1.3pre1","v3.2.0","v3.2.0pre1","v3.2.0pre2","v3.2.0pre3","v3.2.1","v3.2.1pre1","v3.2.2","v3.2.2pre1","v3.2.2pre2","v3.2.2pre3","v3.2.3","v3.2.3pre1","v3.2.4","v3.2.4pre1","v3.2.4pre2","v3.2.4pre3","v3.2.4pre4","v3.2.5pre1","v3.2.5pre2"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"35"}]},{"events":[{"introduced":"0"},{"last_affected":"36"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-29154.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H"}]}