Skip to main content
Public proof of conceptFix available

CVE-2022-29154

A public proof of concept exists; no exploitation attested.

  • Published2022-08-02
  • WeaknessCWE-20

Am I 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
  1. 2022-08-0215:15CVE publishedNVD

Versions per branch

NVD
Fedoraproject fedora
BranchAffectedFixed in
35.x= 35no fix published
36.x= 36no fix published
Samba rsync
BranchAffectedFixed in
3.2< 3.2.53.2.5

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

  • CVE-2022-29154 Red Hat Product Security81 products fixed · 2 known affected

    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

  • ICSA-25-105-08 CISA2 known affected

    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

  • ICSA-24-046-11 CISA11 known affected

    Siemens SCALANCE XCM-/XRM-300

    SCALANCE XCH328 (6GK5328-4TS01-2EC2) · SCALANCE XCM324 (6GK5324-8TS01-2AC2) · SCALANCE XCM328 (6GK5328-4TS01-2AC2) · +8 more

  • SSA-806742 Siemens ProductCERT11 known affected

    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

  • RHSA-2022:6551 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Red Hat Virtualization security update

  • RHSA-2022:6170 Red Hat Product Security15 products fixed

    Red Hat Security Advisory: rsync security update

5 more advisories

Full record on NVD

Fix

  1. Vendor fix Siemens ProductCERT SSA-806742 · 10 productsUpdate to V2.4 or later version
  2. Vendor fix CISA ICSA-24-046-11 · 10 productsUpdate to V2.4 or later version
  3. 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
  4. 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
  5. 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.
  6. 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

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

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?

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

Is CVE-2022-29154 actively exploited?

Active exploitation of CVE-2022-29154 has not been confirmed. Its EPSS score was 2.3% on 2026-11-08, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-29154?

CVE-2022-29154 has a CVSS v3 base score of 7.4 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H.

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

Sources for this record