CVE-2022-29154Samba Rsync
High 7.4 No auth needed
Follow: this CVE · Samba · Samba Rsync We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.4
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 79
- Auth required
- No
- Published
- Aug 2, 2022
- Updated
- Jun 17, 2026
- Category
- Server · Linux
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
What happens
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).
What to do
- Apply the vendor's security update for Rsync.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| samba | rsync | < 3.2.5 |
| fedoraproject | fedora | 35 |
| fedoraproject | fedora | 36 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Exploit Mailing List Patch
- github.com Release Notes Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org