Path traversal in Rsync - CVE-2024-12087

 

Path traversal in Rsync - CVE-2024-12087

Published: January 14, 2025


Vulnerability identifier: #VU102734
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2024-12087
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Samba
Affected software:
Rsync

Detailed vulnerability description

The vulnerability allows a remote server to write files to arbitrary locations on the system.

The vulnerability exists due to input validation error when using "--inc-recursive" option. A remote attacker can can trick the victim into connecting to a rouge rsync server and write arbitrary files to arbitrary locations on the client system.


How to mitigate CVE-2024-12087

Install update from vendor's website.

Sources