CVE-2022-29154
rsync: remote arbitrary files write inside the directories of connecting peers
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · August 2, 2022
Updated · November 22, 2025
Description
A flaw was found in rsync that is triggered by a victim rsync user/client connecting to a malicious rsync server. The server can copy and overwrite arbitrary files in the client's rsync target directory and subdirectories. This flaw allows a malicious server, or in some cases, another attacker who performs a man-in-the-middle attack, to potentially overwrite sensitive files on the client machine, resulting in further exploitation.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Only connecting to trusted Rsync servers over trusted channels would help to mitigate this flaw.
CVSS / CWE
CVSS 3.1 · 7.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')