REDHAT-BUG-2515409: High severity rsync rsync vulnerability
rsync 3.2.5 before 3.5.0 contains a heap out-of-bounds write vulnerability that allows remote unauthenticated attackers to write one attacker-controlled byte past the end of a heap allocation by supplying a crafted files-from entry. Attackers can trigger the vulnerability against a read-only rsync daemon module by providing a files-from entry containing both an interior and trailing backslash, causing the addimpliedinclude() function to under-count the trailing backslash when sizing the destination buffer.
Affected Software
Event History
Frequently Asked Questions
Which rsync deployments are exposed to remote exploitation?
Rsync versions 3.2.5 before 3.5.0 are affected when they expose a read-only rsync daemon module. The issue can be triggered remotely without authentication.
What must an attacker provide to trigger the flaw?
The attacker must supply a crafted files-from entry containing both an interior backslash and a trailing backslash. This causes add_implied_include() to under-count the trailing backslash while sizing a heap buffer.
What is the resulting impact?
Successful exploitation permits writing one attacker-controlled byte past the end of a heap allocation. The provided information characterizes this as a heap out-of-bounds write.