CVE-2022-29154
A public proof of concept exists; no exploitation attested.
- Published2022-08-02
- WeaknessCWE-20
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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).
Timeline
dates in UTC- 2022-08-0215:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 35.x | = 35 | no fix published | NVD |
| 36.x | = 36 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.2 | < 3.2.5 | 3.2.5 | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- redhat-virtualization-hostRed Hat:rhev_hypervisor:4.4::el8all versions · fixed in 0:4.5.2-202209140405_8.6and 1 other package
- rsyncUbuntu:Pro:16.04:LTSall versions · no fixed version listed
- rsyncUbuntu:Pro:14.04:LTSall versions · no fixed version listed
- rsyncUbuntu:22.04:LTSall versions · fixed in 3.2.7-0ubuntu0.22.04.2
- rsyncUbuntu:20.04:LTSall versions · fixed in 3.1.3-8ubuntu0.5
- rsyncUbuntu:18.04:LTSall versions · fixed in 3.1.2-2.1ubuntu1.6
- rsyncTuxCare:Ubuntu:16.04all versions · fixed in 3.1.1-3ubuntu1.3+tuxcare.els2
- rsyncTuxCare:Ubuntu:16.04all versions · fixed in 3.1.1-3ubuntu1.3+tuxcare.els4
95 more package ranges on OSV.dev
Vendor advisories
rsync: remote arbitrary files write inside the directories of connecting peers
rsync as a component of Red Hat Enterprise Linux 6 · rsync.src as a component of Red Hat Enterprise Linux 6
ABB M2M Gateway
ABB M2M Gateway ARM600, firmware versions = 4.1.2 <= 5.0.3 · ABB M2M Gateway SW, software versions = 5.0.1 <= 5.0.3
Siemens SCALANCE XCM-/XRM-300
SCALANCE XCH328 (6GK5328-4TS01-2EC2) · SCALANCE XCM324 (6GK5324-8TS01-2AC2) · SCALANCE XCM328 (6GK5328-4TS01-2AC2) · +8 more
SSA-806742: Multiple Vulnerabilities in SCALANCE XCM-/XRM-300 before V2.4
SCALANCE XCH328 (6GK5328-4TS01-2EC2) · SCALANCE XCM324 (6GK5324-8TS01-2AC2) · SCALANCE XCM328 (6GK5328-4TS01-2AC2) · +8 more
Red Hat Security Advisory: Red Hat Virtualization security update
Red Hat Security Advisory: rsync security update
5 more advisories
Fix
- Vendor fix Siemens ProductCERT SSA-806742 · 10 productsUpdate to V2.4 or later version
- Vendor fix CISA ICSA-24-046-11 · 10 productsUpdate to V2.4 or later version
- Vendor fix Red Hat Product Security RHSA-2022:6551 · 2 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/2974891
- Vendor fix Red Hat Product Security RHSA-2022:6170 · 15 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Workaround from the vendor Red Hat Product Security RHSA-2022:6551 · 8 productsOnly connecting to trusted Rsync servers over trusted channels would help to mitigate this flaw.
- Mitigation from the vendor CISA ICSA-25-105-08 · 2 productsMitigating factors describe conditions and circumstances that make an attack that exploits the vulnerability difficult or less likely to succeed. The following mitigations are recommended. 1. Obtain a cellular private access point (APN). A dedicated private cellular access point and respective SIM…
Advisories and patches
- www.openwall.comPatch
- github.comRelease Notes
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub1 repository, unverifiedknown since 2026-11-01EgeBalci/CVE-2022-29154
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.17.4read 2026-10-23
- NVDweakness (CWE)CWE-20read 2026-10-23
- FIRST EPSSEPSS score2.3 %2026-11-08
- PoC-in-GitHubproof of concept1known since 2026-11-01
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-10461same flawAzure Linux · MIT
- EUVD-2022-33562same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-5jgp-wh79-75wgsame flawGitHub Advisory Database · CC-BY-4.0
- ALSA-2022:6180advisory covering several CVEsAlmaLinux · MIT
- MGASA-2022-0302advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2022-1875advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:12232-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2022:6170advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:6171advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:6172advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:6173advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:6180advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:6181advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:6551advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2022:6180advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2022:6181advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-RU-2023:3370-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:2825-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:2858-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:2859-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:2959-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:2959-2advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-5921-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
- Published
- 2022-08-02
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-5jgp-wh79-75wg
Frequently asked questions
What is CVE-2022-29154?
Is CVE-2022-29154 actively exploited?
What is the CVSS score for CVE-2022-29154?
Running rsync? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-5jgp-wh79-75wg
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- Siemens ProductCERT (CSAF) · TLP:WHITE (commercial use and redistribution granted)