An issue was discovered in rsync before 3.2.5 that allows malicious remote servers to…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Partial Red Hat: 10 fixed, 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.
Summary
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).
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:samba:rsync:*:*:*:*:*:*:*:* | before 3.2.5 | Vulnerable | Samba |
| cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* | 35 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* | 36 | Vulnerable | Fedoraproject |
- cpe:2.3:a:samba:rsync:*:*:*:*:*:*:*:* Versions before 3.2.5 Vulnerable ·Samba
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Versions 36 Vulnerable ·Fedoraproject
Remediation
Red Hat 7 advisories
- RHSA-2022:6551 Released 2022-09-19 · Red Hat rating ImportantRed Hat Virtualization security update
- Red Hat Virtualization 4 Hypervisor for RHEL 8 redhat-virtualization-host-4.5.2-202209140405_8.6, redhat-virtualization-host-image-update-4.5.2-202209140405_8.6
- RHSA-2022:6170 Released 2022-08-24 · Red Hat rating Importantrsync security update
- Red Hat Enterprise Linux Client (v. 7) rsync-3.1.2-11.el7_9
- Red Hat Enterprise Linux Server (v. 7) rsync-3.1.2-11.el7_9
- Red Hat Enterprise Linux Workstation (v. 7) rsync-3.1.2-11.el7_9
- RHSA-2022:6171 Released 2022-08-24 · Red Hat rating Importantrsync security update
- Red Hat Enterprise Linux BaseOS EUS (v.8.4) rsync-3.1.3-12.el8_4.2, rsync-daemon-3.1.3-12.el8_4.2
Show 4 more Red Hat advisories
- RHSA-2022:6180 Released 2022-08-24 · Red Hat rating Importantrsync security update
- Red Hat Enterprise Linux BaseOS (v. 8) rsync-3.1.3-14.el8_6.3, rsync-daemon-3.1.3-14.el8_6.3
- RHSA-2022:6181 Released 2022-08-24 · Red Hat rating Importantrsync security update
- Red Hat Enterprise Linux AppStream (v. 9) rsync-daemon-3.2.3-9.el9_0.2
- Red Hat Enterprise Linux BaseOS (v. 9) rsync-3.2.3-9.el9_0.2
- RHSA-2022:6172 Released 2022-08-24 · Red Hat rating Importantrsync security update
- Red Hat Enterprise Linux BaseOS EUS (v. 8.2) rsync-3.1.3-7.el8_2.2, rsync-daemon-3.1.3-7.el8_2.2
- RHSA-2022:6173 Released 2022-08-24 · Red Hat rating Importantrsync security update
- Red Hat Enterprise Linux BaseOS E4S (v. 8.1) rsync-3.1.3-6.el8_1.2, rsync-daemon-3.1.3-6.el8_1.2
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2022:6181 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2022:6180 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2022:6181 |
| Red Hat Enterprise Linux BaseOS E4S (v. 8.1) | Fixed | RHSA-2022:6173 |
| Red Hat Enterprise Linux BaseOS EUS (v. 8.2) | Fixed | RHSA-2022:6172 |
| Red Hat Enterprise Linux BaseOS EUS (v.8.4) | Fixed | RHSA-2022:6171 |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2022:6170 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2022:6170 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2022:6170 |
| Red Hat Virtualization 4 Hypervisor for RHEL 8 | Fixed | RHSA-2022:6551 |
Not affected: 1 product
- RHEL 8-based RHEV-H for RHEV 4 (build requirements)
Timeline
- 2026-10-02 Threatist record created from CVE-2022-29154
- 2026-10-03 Alias added: GHSA-5jgp-wh79-75wg
References
Sources
- CVE-2022-29154 · CVE Program
- CVE-2022-29154 · NVD
- FIRST EPSS
- GHSA-5jgp-wh79-75wg · GitHub Advisory Database · CC BY 4.0
- CVE-2022-29154 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences