rsync: An issue was discovered in rsync before 3.2.5 that allows malicious remote servers to write arbitrary files inside th...
CVE-2022-29154 is fixed in 4 products on 1 platform, first by rsync 3.1.2-2.1ubuntu1.6, released August 2, 2022. It is not reported as exploited. Patch Radar priority: High.
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).
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| rsync · Debian 12.15 (bookworm) | 3.2.5-1 | DEBIAN-CVE-2022-29154 | Aug 2, 2022 |
| rsync · Debian 13.5 (trixie) | 3.2.5-1 | DEBIAN-CVE-2022-29154 | Aug 2, 2022 |
| rsync · Debian 14 | 3.2.5-1 | DEBIAN-CVE-2022-29154 | Aug 2, 2022 |
| rsync · RHEL 8 | 0:3.1.3-14.el8_6.3 | RHSA-2022:6180 | Aug 24, 2022 |
| rsync · RHEL 9 | 0:3.2.3-9.el9_0.2 | RHSA-2022:6181 | Aug 24, 2022 |
| rsync · Ubuntu 18.04.6 LTS (bionic) | 3.1.2-2.1ubuntu1.6 | rsync 3.1.2-2.1ubuntu1.6 | Aug 2, 2022 |
| rsync · Ubuntu 20.04 LTS (focal) | 3.1.3-8ubuntu0.5 | rsync 3.1.3-8ubuntu0.5 | Aug 2, 2022 |
| rsync · Ubuntu 22.04.1 LTS (jammy) | 3.2.7-0ubuntu0.22.04.2 | rsync 3.2.7-0ubuntu0.22.04.2 | Aug 2, 2022 |
| rsync · almalinux 8 | 3.1.3-14.el8_6.3 | ALSA-2022:6180 | Aug 24, 2022 |
| rsync · amzn 2023 | 3.2.6-1.amzn2023.0.3 | ALAS2023-2023-002 | Feb 17, 2023 |
| rsync · ol 8 | 0:3.1.3-14.el8_6.3 | ELSA-2022-6180 | Aug 25, 2022 |
| rsync · ol 9 | 0:3.2.3-9.el9_0.2 | ELSA-2022-6181 | Aug 25, 2022 |
| rsync · rocky 8 | 0:3.1.3-14.el8_6.3 | RLSA-2022:6180 | Aug 24, 2022 |
| rsync · rocky 9 | 0:3.2.3-9.el9_0.2 | RLSA-2022:6181 | Aug 24, 2022 |
| rsync-daemon · RHEL 8 | 0:3.1.3-14.el8_6.3 | RHSA-2022:6180 | Aug 24, 2022 |
| rsync-daemon · RHEL 9 | 0:3.2.3-9.el9_0.2 | RHSA-2022:6181 | Aug 24, 2022 |
| rsync-daemon · almalinux 8 | 3.1.3-14.el8_6.3 | ALSA-2022:6180 | Aug 24, 2022 |
| rsync-daemon · amzn 2023 | 3.2.6-1.amzn2023.0.3 | ALAS2023-2023-002 | Feb 17, 2023 |
| rsync-daemon · ol 8 | 0:3.1.3-14.el8_6.3 | ELSA-2022-6180 | Aug 25, 2022 |
| rsync-daemon · ol 9 | 0:3.2.3-9.el9_0.2 | ELSA-2022-6181 | Aug 25, 2022 |
| rsync-debuginfo · amzn 2023 | 3.2.6-1.amzn2023.0.3 | ALAS2023-2023-002 | Feb 17, 2023 |
| rsync-debugsource · amzn 2023 | 3.2.6-1.amzn2023.0.3 | ALAS2023-2023-002 | Feb 17, 2023 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.