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.
3.2.7-0ubuntu0.22.04.63.2.7-1ubuntu1.43.4.1+ds1-5ubuntu1.23.4.1+ds1-7ubuntu0.23.1.0-2ubuntu0.4+esm33.1.1-3ubuntu1.3+esm53.1.2-2.1ubuntu1.6+esm33.1.3-8ubuntu0.9+esm1Exploitability
AV:NAC:LAT:NPR:NUI:AVulnerable System
VC:NVI:NVA:HSubsequent System
SC:NSI:NSA:NCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N