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).
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rsync | 3.2.5-1 | — |
| Debian 13 | rsync | 3.2.5-1 | — |
| Debian 12 | rsync | 3.2.5-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | rsync | 3.2.7-0ubuntu0.22.04.2 | USN-5921-1 |
| Ubuntu 20.04 LTS | rsync | 3.1.3-8ubuntu0.5 | USN-5921-1 |
| Ubuntu 18.04 LTS | rsync | 3.1.2-2.1ubuntu1.6 | USN-5921-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | rsync | No fix yet | — |
| Ubuntu Pro 14.04 LTS | rsync | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | rsync +1 | 3.2.3-9.el9_0.2 | RHSA-2022:6181 |
| RHEL 8 | rsync +1 | 3.1.3-14.el8_6.3 | RHSA-2022:6180 |
| RHEL 7 | rsync | 3.1.2-11.el7_9 | RHSA-2022:6170 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Rhev Hypervisor 4 | redhat-virtualization-host +1 | 4.5.2-202209140405_8.6 | RHSA-2022:6551 |
| RHEL 8.4 EUS | rsync +1 | 3.1.3-12.el8_4.2 | RHSA-2022:6171 |
| RHEL 8.2 EUS | rsync +1 | 3.1.3-7.el8_2.2 | RHSA-2022:6172 |
| RHEL 8.1 E4S | rsync +1 | 3.1.3-6.el8_1.2 | RHSA-2022:6173 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | rsync +1 | 3.1.3-14.el8_6.3 | ALSA-2022:6180 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | rsync | 3.2.3-9.el9_0.2 | RLSA-2022:6181 |
| Rocky Linux 8 | rsync | 3.1.3-14.el8_6.3 | RLSA-2022:6180 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | rsync | 3.2.3-150400.3.3.1 | SUSE-SU-2022:2825-1 |
| SLES 15 SP3 | rsync | 3.1.3-150000.4.13.1 | SUSE-SU-2022:2959-1, SUSE-RU-2023:3370-1 |
| SLES 15 SP2 | rsync | 3.1.3-150000.4.13.1 | SUSE-SU-2022:2959-1, SUSE-RU-2023:3370-1 |
| SLES 15 SP1 | rsync | 3.1.3-150000.4.13.1 | SUSE-SU-2022:2959-1, SUSE-RU-2023:3370-1 |
| SLES 15 | rsync | 3.1.3-150000.4.13.1 | SUSE-SU-2022:2959-1 |
Show 27 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | rsync | 3.1.3-3.9.1 | SUSE-SU-2022:2858-1 |
| SLES 12 SP4 | rsync | 3.1.0-13.19.1 | SUSE-SU-2022:2859-1 |
| SLES 12 SP3 | rsync | 3.1.0-13.19.1 | SUSE-SU-2022:2859-1 |
| SLES 12 SP2 | rsync | 3.1.0-13.19.1 | SUSE-SU-2022:2859-1 |
| SLES for SAP 15 SP3 | rsync | 3.2.3-150000.4.23.2 | SUSE-RU-2023:3370-1 |
| SLES for SAP 15 SP2 | rsync | 3.1.3-150000.4.13.1 | SUSE-SU-2022:2959-1, SUSE-RU-2023:3370-1 |
| SLES for SAP 15 SP1 | rsync | 3.1.3-150000.4.13.1 | SUSE-SU-2022:2959-1, SUSE-RU-2023:3370-1 |
| SLES for SAP 15 | rsync | 3.1.3-150000.4.13.1 | SUSE-SU-2022:2959-1 |
| SLES for SAP 12 SP5 | rsync | 3.1.3-3.9.1 | SUSE-SU-2022:2858-1 |
| SLES for SAP 12 SP4 | rsync | 3.1.0-13.19.1 | SUSE-SU-2022:2859-1 |
| SLE Real Time 15 SP3 | rsync | 3.2.3-150000.4.23.2 | SUSE-RU-2023:3370-1 |
| SLE Micro 5.2 | rsync | 3.1.3-150000.4.13.1 | SUSE-SU-2022:2959-1, SUSE-RU-2023:3370-1 |
| SLE Micro 5.1 | rsync | 3.1.3-150000.4.13.1 | SUSE-SU-2022:2959-1, SUSE-RU-2023:3370-1 |
| SLE HPC 15 SP3 | rsync | 3.2.3-150000.4.23.2 | SUSE-RU-2023:3370-1 |
| SLE HPC 15 SP2 | rsync | 3.1.3-150000.4.13.1 | SUSE-SU-2022:2959-1, SUSE-RU-2023:3370-1 |
| SLE HPC 15 SP1 | rsync | 3.1.3-150000.4.13.1 | SUSE-SU-2022:2959-1, SUSE-RU-2023:3370-1 |
| SLE HPC 15 | rsync | 3.1.3-150000.4.13.1 | SUSE-SU-2022:2959-1 |
| SUSE OpenStack Cloud Crowbar 9 | rsync | 3.1.0-13.19.1 | SUSE-SU-2022:2859-1 |
| SUSE OpenStack Cloud 9 | rsync | 3.1.0-13.19.1 | SUSE-SU-2022:2859-1 |
| SUSE Manager Server 4.2 | rsync | 3.2.3-150000.4.23.2 | SUSE-RU-2023:3370-1 |
| SUSE Manager Server 4.1 | rsync | 3.1.3-150000.4.13.1 | SUSE-SU-2022:2959-1 |
| SUSE Manager Retail Branch Server 4.1 | rsync | 3.1.3-150000.4.13.1 | SUSE-SU-2022:2959-1 |
| SUSE Manager Proxy 4.2 | rsync | 3.2.3-150000.4.23.2 | SUSE-RU-2023:3370-1 |
| SUSE Manager Proxy 4.1 | rsync | 3.1.3-150000.4.13.1 | SUSE-SU-2022:2959-1 |
| SUSE Enterprise Storage 7.1 | rsync | 3.2.3-150000.4.23.2 | SUSE-RU-2023:3370-1 |
| SUSE Enterprise Storage 7 | rsync | 3.1.3-150000.4.13.1 | SUSE-SU-2022:2959-1 |
| SUSE Enterprise Storage 6 | rsync | 3.1.3-150000.4.13.1 | SUSE-SU-2022:2959-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | rsync | 3.2.4-3.1 | openSUSE-SU-2024:12232-1 |
| openSUSE Leap 15.4 | rsync | 3.2.3-150400.3.3.1 | SUSE-SU-2022:2825-1 |
| openSUSE Leap 15.3 | rsync | 3.1.3-150000.4.13.1 | SUSE-SU-2022:2959-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.2 | rsync | 3.1.3-150000.4.13.1 | SUSE-SU-2022:2959-2 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | rsync | 3.2.4-r2 | — |
| Alpine v3.23 | rsync | 3.2.4-r2 | — |
| Alpine v3.22 | rsync | 3.2.4-r2 | — |
| Alpine v3.21 | rsync | 3.2.4-r2 | — |
| Alpine v3.20 | rsync | 3.2.4-r2 | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | rsync | 3.2.4-r2 | — |
| Alpine v3.18 | rsync | 3.2.4-r2 | — |
| Alpine v3.17 | rsync | 3.2.4-r2 | — |
| Alpine v3.16 | rsync | 3.2.4-r2 | — |
| Alpine v3.15 | rsync | 3.2.4-r0 | — |
| Alpine v3.14 | rsync | 3.2.4-r0 | — |
| Alpine v3.13 | rsync | 3.2.4-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | rsync +1 | 3.2.6-1.amzn2023.0.3 | ALAS2023-2023-002 |
| Amazon Linux 2 | rsync | 3.1.2-11.amzn2.0.1 | ALAS2-2022-1873 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | rsync | 3.2.5-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | rsync +1 | 3.2.3-9.el9_0.2 | ELSA-2022-6181 |
| Oracle Linux 8 | rsync +1 | 3.1.3-14.el8_6.3 | ELSA-2022-6180 |
| Oracle Linux 7 | rsync | 3.1.2-11.el7_9 | ELSA-2022-6170 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
EgeBalci/CVE-2022-29154 ★ 9 · Sep 14, 2022
HIP2022 presentation materials.
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 32
- ALSA-2022:6180 Important: rsync security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2022:6551 Red Hat Security Advisory: Red Hat Virtualization security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2022:6181 Red Hat Security Advisory: rsync security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2022:6170 Red Hat Security Advisory: rsync security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- WID-SEC-2022-0891 Rsync: Schwachstelle ermöglicht Manipulation von Dateien BSI CERT-Bund (WID) · May 25, 2026
- USN-5921-1 rsync vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- RLSA-2022:6181 Important: rsync security update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2022:6180 Important: rsync security update Rocky Linux Security Advisories · Feb 4, 2026
- openSUSE-SU-2024:12232-1 rsync-3.2.4-3.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2858-1 Security update for rsync SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2859-1 Security update for rsync SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2959-2 Security update for rsync SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-RU-2023:3370-1 Recommended update for rsync SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2959-1 Security update for rsync SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2825-1 Security update for rsync SUSE / openSUSE Security Updates · Feb 4, 2026
- RHSA-2022:6180 Red Hat Security Advisory: rsync security update Red Hat Security Advisories (RHSA) · Dec 27, 2025
- RHSA-2022:6171 Red Hat Security Advisory: rsync security update Red Hat Security Advisories (RHSA) · Dec 27, 2025
- RHSA-2022:6173 Red Hat Security Advisory: rsync security update Red Hat Security Advisories (RHSA) · Dec 27, 2025
- RHSA-2022:6172 Red Hat Security Advisory: rsync security update Red Hat Security Advisories (RHSA) · Dec 27, 2025
- WID-SEC-2023-1542 Red Hat OpenShift: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 18, 2025
- ICSA-25-105-08 ABB M2M Gateway CISA ICS & IT advisories · Apr 7, 2025
- 2NGA002579 ABB Arctic communication solution ARM600 Vulnerabilities ABB PSIRT · Apr 7, 2025
- ICSA-24-046-11 Siemens SCALANCE XCM-/XRM-300 CISA ICS & IT advisories · Feb 13, 2024
- SSA-806742 SSA-806742: Multiple Vulnerabilities in SCALANCE XCM-/XRM-300 before V2.4 Siemens ProductCERT · Feb 13, 2024
- WID-SEC-2023-1969 HPE Fabric OS: Mehrere Schwachstellen ermöglichen Privilegieneskalation BSI CERT-Bund (WID) · Aug 6, 2023
- WID-SEC-2023-0561 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 18, 2023
- WID-SEC-2023-0831 IBM Security Verify Access: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 3, 2023
- ALAS2023-2023-002 Important: rsync security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 23, 2023
- ALAS2-2022-1873 Important: rsync security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Nov 8, 2022
- ELSA-2022-6170 Important: rsync security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Aug 25, 2022
- ELSA-2022-6181 Important: rsync security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Aug 25, 2022
- ELSA-2022-6180 Important: rsync security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Aug 25, 2022
References
- https://github.com/WayneD/rsync/tags
- [oss-security] 20220802 CVE-2022-29154: Rsync client-side arbitrary file write vulnerability. mailing-list
- FEDORA-2022-25e4dbedf9 vendor-advisory
- FEDORA-2022-15da0cf165 vendor-advisory