REDHAT-BUG-2515379: High severity rsync rsync vulnerability
rsync 3.0.0 before 3.5.0 contains an out-of-bounds write vulnerability that allows attackers to corrupt memory by triggering HLINKBUMP processing on file entries with the FLAGHLINKED flag set while the hard-link preservation option is inactive. Attackers can exploit the missing FSUM field in the filestruct layout to access memory past the end of the allocated structure, corrupting adjacent heap or stack data.
Affected Software
Event History
Frequently Asked Questions
What conditions are required for exploitation?
An attacker must be able to trigger HLINK_BUMP processing for file entries marked with FLAG_HLINKED while hard-link preservation is inactive. Under those conditions, the missing F_SUM field can cause writes past the allocated file_struct.
Which rsync versions are affected?
The issue affects rsync versions from 3.0.0 before 3.5.0.
What is the impact of successful exploitation?
Successful exploitation can corrupt memory beyond the end of the file_struct allocation, affecting adjacent heap or stack data.