REDHAT-BUG-2515406: High severity rsync rsync vulnerability
rsync 3.4.2 before 3.5.0 contains a denial of service vulnerability that allows a remote sender to exhaust system resources by specifying the --zt short alias for --compress-threads, which bypasses the refuse options directive's string matching on long option names. Attackers can specify --zt=N with a large value to spawn an unbounded number of Zstandard worker threads on the receiver, exhausting available thread and memory resources.
Affected Software
Event History
Frequently Asked Questions
Which systems are exposed to resource exhaustion?
The receiver is affected when a remote sender can supply rsync options. A sender can use a large --zt=N value to cause the receiver to create excessive Zstandard worker threads and consume thread and memory resources.
Does a refuse options rule for --compress-threads prevent exploitation?
Not if the rule relies on matching the long option name. The --zt short alias bypasses string matching intended to refuse --compress-threads.
How can I determine whether my rsync version is affected?
The affected range is rsync 3.4.2 before 3.5.0. Systems running a version in that range should be treated as vulnerable when remote senders can provide rsync options.