# CVE-2022-29154: 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.

- Web page: https://patchblox.com/security/cve/CVE-2022-29154
- Priority: High
- CVSS: 7.4 (Medium)
- EPSS: 0.0235
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 2, 2022

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | rsync Debian 12.15 (bookworm) | 3.2.5-1 | [DEBIAN-CVE-2022-29154](https://patchblox.com/security/data/fix/linux/debian-cve-2022-29154.md) | Aug 2, 2022 |
| Linux | rsync Debian 13.5 (trixie) | 3.2.5-1 | [DEBIAN-CVE-2022-29154](https://patchblox.com/security/data/fix/linux/debian-cve-2022-29154.md) | Aug 2, 2022 |
| Linux | rsync Debian 14 | 3.2.5-1 | [DEBIAN-CVE-2022-29154](https://patchblox.com/security/data/fix/linux/debian-cve-2022-29154.md) | Aug 2, 2022 |
| Linux | rsync RHEL 8 | 0:3.1.3-14.el8_6.3 | [RHSA-2022:6180](https://patchblox.com/security/data/fix/linux/rhsa-2022-6180.md) | Aug 24, 2022 |
| Linux | rsync RHEL 9 | 0:3.2.3-9.el9_0.2 | [RHSA-2022:6181](https://patchblox.com/security/data/fix/linux/rhsa-2022-6181.md) | Aug 24, 2022 |
| Linux | rsync Ubuntu 18.04.6 LTS (bionic) | 3.1.2-2.1ubuntu1.6 | [rsync 3.1.2-2.1ubuntu1.6](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-rsync-3.1.2-2.1ubuntu1.6.md) | Aug 2, 2022 |
| Linux | rsync Ubuntu 20.04 LTS (focal) | 3.1.3-8ubuntu0.5 | [rsync 3.1.3-8ubuntu0.5](https://patchblox.com/security/data/fix/linux/ubuntu-focal-rsync-3.1.3-8ubuntu0.5.md) | Aug 2, 2022 |
| Linux | rsync Ubuntu 22.04.1 LTS (jammy) | 3.2.7-0ubuntu0.22.04.2 | [rsync 3.2.7-0ubuntu0.22.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-rsync-3.2.7-0ubuntu0.22.04.2.md) | Aug 2, 2022 |
| Linux | rsync almalinux 8 | 3.1.3-14.el8_6.3 | [ALSA-2022:6180](https://patchblox.com/security/data/fix/linux/alsa-2022-6180.md) | Aug 24, 2022 |
| Linux | rsync amzn 2023 | 3.2.6-1.amzn2023.0.3 | [ALAS2023-2023-002](https://patchblox.com/security/data/fix/linux/alas2023-2023-002.md) | Feb 17, 2023 |
| Linux | rsync ol 8 | 0:3.1.3-14.el8_6.3 | [ELSA-2022-6180](https://patchblox.com/security/data/fix/linux/elsa-2022-6180.md) | Aug 25, 2022 |
| Linux | rsync ol 9 | 0:3.2.3-9.el9_0.2 | [ELSA-2022-6181](https://patchblox.com/security/data/fix/linux/elsa-2022-6181.md) | Aug 25, 2022 |
| Linux | rsync rocky 8 | 0:3.1.3-14.el8_6.3 | [RLSA-2022:6180](https://patchblox.com/security/data/fix/linux/rlsa-2022-6180.md) | Aug 24, 2022 |
| Linux | rsync rocky 9 | 0:3.2.3-9.el9_0.2 | [RLSA-2022:6181](https://patchblox.com/security/data/fix/linux/rlsa-2022-6181.md) | Aug 24, 2022 |
| Linux | rsync-daemon RHEL 8 | 0:3.1.3-14.el8_6.3 | [RHSA-2022:6180](https://patchblox.com/security/data/fix/linux/rhsa-2022-6180.md) | Aug 24, 2022 |
| Linux | rsync-daemon RHEL 9 | 0:3.2.3-9.el9_0.2 | [RHSA-2022:6181](https://patchblox.com/security/data/fix/linux/rhsa-2022-6181.md) | Aug 24, 2022 |
| Linux | rsync-daemon almalinux 8 | 3.1.3-14.el8_6.3 | [ALSA-2022:6180](https://patchblox.com/security/data/fix/linux/alsa-2022-6180.md) | Aug 24, 2022 |
| Linux | rsync-daemon amzn 2023 | 3.2.6-1.amzn2023.0.3 | [ALAS2023-2023-002](https://patchblox.com/security/data/fix/linux/alas2023-2023-002.md) | Feb 17, 2023 |
| Linux | rsync-daemon ol 8 | 0:3.1.3-14.el8_6.3 | [ELSA-2022-6180](https://patchblox.com/security/data/fix/linux/elsa-2022-6180.md) | Aug 25, 2022 |
| Linux | rsync-daemon ol 9 | 0:3.2.3-9.el9_0.2 | [ELSA-2022-6181](https://patchblox.com/security/data/fix/linux/elsa-2022-6181.md) | Aug 25, 2022 |
| Linux | rsync-debuginfo amzn 2023 | 3.2.6-1.amzn2023.0.3 | [ALAS2023-2023-002](https://patchblox.com/security/data/fix/linux/alas2023-2023-002.md) | Feb 17, 2023 |
| Linux | rsync-debugsource amzn 2023 | 3.2.6-1.amzn2023.0.3 | [ALAS2023-2023-002](https://patchblox.com/security/data/fix/linux/alas2023-2023-002.md) | Feb 17, 2023 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

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.
