CVE-2022-29154Improper Input Validation in Samba Rsync

Severity
7.4HIGHNVD
EPSS
0.7%
top 28.56%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 2
Latest updateMar 6

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).

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:HExploitability: 2.2 | Impact: 5.2

Affected Packages2 packages

NVDsamba/rsync< 3.2.5
Debiansamba/rsync< 3.2.5-1+2

Also affects: Fedora 35, 36

Patches

🔴Vulnerability Details

3
GHSA
GHSA-5jgp-wh79-75wg: An issue was discovered in rsync before 32022-08-03
CVEList
CVE-2022-29154: An issue was discovered in rsync before 32022-08-02
OSV
CVE-2022-29154: An issue was discovered in rsync before 32022-08-02

📋Vendor Advisories

4
Ubuntu
rsync vulnerabilities2023-03-06
Microsoft
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 s2022-08-09
Red Hat
rsync: remote arbitrary files write inside the directories of connecting peers2022-08-02
Debian
CVE-2022-29154: rsync - An issue was discovered in rsync before 3.2.5 that allows malicious remote serve...2022