Mageia 2022-0302: rsync security update
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). (CVE-2022-29154)
References
- https://bugs.mageia.org/show_bug.cgi?id=30696
- https://seclists.org/oss-sec/2022/q3/77
- https://www.openwall.com/lists/oss-security/2022/08/02/1
- https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/OZDMOCCGHF4NPIRQFQC2LBFH6YXI6QMU/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29154
Resolution
MGASA-2022-0302 - Updated rsync packages fix security vulnerability
SRPMS
- 8/core/rsync-3.2.2-2.1.mga8