CVEfocus › CVE database › CVE-2022-29154

CVE-2022-29154

EPSS 1.8% (higher than 79% of CVEs)Published 2022-08-02Updated 2024-08-03Assigner: mitre

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

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

27Fixed
1Fix pending
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04rsyncFixed3.2.7-0ubuntu0.22.04.2UBUNTU-CVE-2022-29154
Ubuntu 20.04rsyncFixed3.1.3-8ubuntu0.5UBUNTU-CVE-2022-29154
Ubuntu 18.04rsyncFixed3.1.2-2.1ubuntu1.6UBUNTU-CVE-2022-29154
Ubuntu 16.04rsyncWill not fix
two additional commits were added later on...need to check if more go in before the official release Another commit was found to be part of the collection for…
UBUNTU-CVE-2022-29154
Ubuntu 14.04rsyncFix pendingUBUNTU-CVE-2022-29154
Debian 14rsyncFixed3.2.5-1DEBIAN-CVE-2022-29154
Debian 13rsyncFixed3.2.5-1DEBIAN-CVE-2022-29154
Debian 12rsyncFixed3.2.5-1DEBIAN-CVE-2022-29154
Red Hat Enterprise Linux 9rsyncFixed0:3.2.3-9.el9_0.2RHSA-2022:6181
Red Hat Enterprise Linux 9rsync-daemonFixed0:3.2.3-9.el9_0.2RHSA-2022:6181
Red Hat Enterprise Linux 8rsyncFixed0:3.1.3-14.el8_6.3RHSA-2022:6180
Red Hat Enterprise Linux 8rsync-daemonFixed0:3.1.3-14.el8_6.3RHSA-2022:6180
Red Hat Enterprise Linux 7rsyncFixed0:3.1.2-11.el7_9RHSA-2022:6170
Red Hat Enterprise Linux 6rsyncWill not fix
Out of support scope
AlmaLinux 8rsyncFixed3.1.3-14.el8_6.3ALSA-2022:6180
AlmaLinux 8rsync-daemonFixed3.1.3-14.el8_6.3ALSA-2022:6180
Rocky Linux 9rsyncFixed0:3.2.3-9.el9_0.2RLSA-2022:6181
Rocky Linux 8rsyncFixed0:3.1.3-14.el8_6.3RLSA-2022:6180
Alpine Linux 3.24rsyncFixed3.2.4-r2ALPINE-CVE-2022-29154
Alpine Linux 3.23rsyncFixed3.2.4-r2ALPINE-CVE-2022-29154
Alpine Linux 3.22rsyncFixed3.2.4-r2ALPINE-CVE-2022-29154
Alpine Linux 3.21rsyncFixed3.2.4-r2ALPINE-CVE-2022-29154
Alpine Linux 3.20rsyncFixed3.2.4-r2ALPINE-CVE-2022-29154
Alpine Linux 3.19rsyncFixed3.2.4-r2ALPINE-CVE-2022-29154
Alpine Linux 3.18rsyncFixed3.2.4-r2ALPINE-CVE-2022-29154
Alpine Linux 3.17rsyncFixed3.2.4-r2ALPINE-CVE-2022-29154
Alpine Linux 3.16rsyncFixed3.2.4-r2ALPINE-CVE-2022-29154
Alpine Linux 3.15rsyncFixed3.2.4-r0ALPINE-CVE-2022-29154
Alpine Linux 3.14rsyncFixed3.2.4-r0ALPINE-CVE-2022-29154
Alpine Linux 3.13rsyncFixed3.2.4-r0ALPINE-CVE-2022-29154

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.