CVE-2022-29154

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).
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.4 HIGH
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 76%
Affected Products (NVD)
VendorProductVersion
sambarsync
𝑥
< 3.2.5
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
rsync
bookworm
3.2.7-1
fixed
bullseye
no-dsa
buster
ignored
sid
3.3.0-1
fixed
trixie
3.3.0-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
rsync
bionic
Fixed 3.1.2-2.1ubuntu1.6
released
focal
Fixed 3.1.3-8ubuntu0.5
released
jammy
Fixed 3.2.7-0ubuntu0.22.04.2
released
kinetic
not-affected
lunar
not-affected
trusty
ignored
xenial
ignored
Red Hat logo
Red Hat Enterprise Linux Releases
Red Hat Product
Release
rsync
RHEL 7
0:3.1.2-11.el7_9
fixed
RHEL 8
0:3.1.3-14.el8_6.3
fixed
RHEL 8.1 E4S
0:3.1.3-6.el8_1.2
fixed
RHEL 8.2 AUS
0:3.1.3-7.el8_2.2
fixed
RHEL 8.2 E4S
0:3.1.3-7.el8_2.2
fixed
RHEL 8.2 EUS
0:3.1.3-7.el8_2.2
fixed
RHEL 8.2 TUS
0:3.1.3-7.el8_2.2
fixed
RHEL 8.4 AUS
0:3.1.3-12.el8_4.2
fixed
RHEL 8.4 E4S
0:3.1.3-12.el8_4.2
fixed
RHEL 8.4 EUS
0:3.1.3-12.el8_4.2
fixed
RHEL 8.4 TUS
0:3.1.3-12.el8_4.2
fixed
RHEL 8.6 AUS
0:3.1.3-14.el8_6.3
fixed
RHEL 8.6 E4S
0:3.1.3-14.el8_6.3
fixed
RHEL 8.6 EUS
0:3.1.3-14.el8_6.3
fixed
RHEL 8.6 TUS
0:3.1.3-14.el8_6.3
fixed
RHEL 9
0:3.2.3-9.el9_0.2
fixed
rsync-daemon
RHEL 8
0:3.1.3-14.el8_6.3
fixed
RHEL 8.1 E4S
0:3.1.3-6.el8_1.2
fixed
RHEL 8.2 AUS
0:3.1.3-7.el8_2.2
fixed
RHEL 8.2 E4S
0:3.1.3-7.el8_2.2
fixed
RHEL 8.2 EUS
0:3.1.3-7.el8_2.2
fixed
RHEL 8.2 TUS
0:3.1.3-7.el8_2.2
fixed
RHEL 8.4 AUS
0:3.1.3-12.el8_4.2
fixed
RHEL 8.4 E4S
0:3.1.3-12.el8_4.2
fixed
RHEL 8.4 EUS
0:3.1.3-12.el8_4.2
fixed
RHEL 8.4 TUS
0:3.1.3-12.el8_4.2
fixed
RHEL 8.6 AUS
0:3.1.3-14.el8_6.3
fixed
RHEL 8.6 E4S
0:3.1.3-14.el8_6.3
fixed
RHEL 8.6 EUS
0:3.1.3-14.el8_6.3
fixed
RHEL 8.6 TUS
0:3.1.3-14.el8_6.3
fixed
RHEL 9
0:3.2.3-9.el9_0.2
fixed