CVE-2022-29154

rsync: remote arbitrary files write inside the directories of connecting peers

Published Aug 2, 2022 CVSS 3.1 · 7.4 High EPSS 2.3% KEV · Not listed
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).

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-33562 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).
Ubuntu USN Ubuntu USN USN-5921-1 rsync vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 6:10 AM
Reserved
Apr 13, 2022, 12:00 AM
Status
Modified
Published
Aug 2, 2022, 3:15 PM
Modified
Jun 17, 2026, 4:39 AM
Severity
Important
Public date
Aug 2, 2022, 12:00 AM