REDHAT-BUG-2515396: High severity rsync rsync vulnerability
rsync before 3.5.0 contains a path confinement bypass vulnerability that allows remote clients to escape the intended inner-module root confinement by constructing paths that resolve outside the chroot boundary when the module root contains a /./ boundary marker. Attackers can exploit improper handling of the /./ notation or forge delta-basis transfers referencing xname paths that cross the /./ boundary to gain unauthorized read or write access to files outside the module's subtree.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
rsyncto a version that resolves this vulnerability.Fixed in 3.5.0
Event History
Frequently Asked Questions
Which rsync deployments are exposed to this issue?
Rsync versions before 3.5.0 are affected when a remote client can access a module whose root contains a /./ boundary marker. The flaw concerns the inner-module root confinement used for remote-client access.
What does an attacker need to exploit the vulnerability?
An attacker needs remote client access to the affected rsync module. They can use paths involving /./ notation or forge delta-basis transfers that reference xname paths crossing the /./ boundary.
What could exploitation allow?
Successful exploitation can let a remote client escape the intended module subtree confinement. This may provide unauthorized read or write access to files outside that subtree.
How can exposure be reduced if an update cannot be applied immediately?
Restrict remote client access to affected rsync modules, particularly modules whose roots contain a /./ boundary marker. Limiting access reduces the opportunity to submit crafted paths or forged delta-basis transfers.