Race condition In rsync
Description
Rsync versions before 3.4.3 contain a time-of-check to time-of-use (TOCTOU) race condition in daemon file handling that allows attackers to redirect file writes outside intended directories by replacing parent directory components with symbolic links. Attackers with write access to a module path can exploit this race condition to create or overwrite arbitrary files, potentially modifying sensitive system files and achieving privilege escalation when the daemon runs with elevated privileges. This vulnerability can only be triggered if the chroot setting is false.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
debian 14 | 3.4.3+ds1-1 | ||
alpine v3.20 | 3.4.3-r0 | ||
alpine v3.21 | 3.4.3-r0 | ||
debian 11 | 3.2.3-4+deb11u4 | ||
debian 13 | 3.4.1+ds1-5+deb13u3 | ||
debian 12 | 3.2.7-1+deb12u5 | ||
alpine v3.22 | 3.4.3-r0 | ||
alpine v3.23 | 3.4.3-r0 | ||
rpm rhel6 | - | - | |
rpm rhel7 | - | - |
1-10 of 13
10
Aliases