Out-of-bounds read In rsync
Description
Rsync version 3.4.2 and prior contain a receiver-side out-of-bounds array read vulnerability in recv_files() in receiver.c that allows a malicious rsync server to crash the rsync client process. Attackers can exploit the vulnerability by setting CF_INC_RECURSE in compatibility flags and sending a specially crafted file list where the first sorted entry is not the leading dot directory, followed by a transfer record with ndx=0 and an iflag word without ITEM_TRANSFER, causing the receiver to read 8 bytes before the allocated pointer array and dereference an invalid pointer at an unmapped address, resulting in a deterministic SIGSEGV crash of the rsync client.
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 | ||
debian 11 | 3.2.3-4+deb11u4 | ||
debian 12 | 3.2.7-1+deb12u5 | ||
debian 13 | 3.4.1+ds1-5+deb13u3 | ||
alpine v3.20 | 3.4.3-r0 | ||
alpine v3.21 | 3.4.3-r0 | ||
alpine v3.22 | 3.4.3-r0 | ||
alpine v3.23 | 3.4.3-r0 | ||
rpm rhel10 | - | - | |
rpm rhel6 | - | - |
1-10 of 13
10
Aliases