cbcvebase.
CVE-2024-12087
published 2025-01-14

CVE-2024-12087: A path traversal vulnerability exists in rsync. It stems from behavior enabled by the `--inc-recursive` option, a default-enabled option for many client…

high7.5CVSS 3.1
AVNACLPRNUINSUCNIHAN
A path traversal vulnerability exists in rsync. It stems from behavior enabled by the `--inc-recursive` option, a default-enabled option for many client options and can be enabled by the server even if not explicitly enabled by the client. When using the `--inc-recursive` option, a lack of proper symlink verification coupled with deduplication checks occurring on a per-file-list basis could allow a server to write files outside of the client's intended destination directory. A malicious server could write malicious files to arbitrary locations named after valid directories/paths on the client.

Affected

40 ranges· showing 25
VendorProductVersion rangeFixed in
almalinuxalmalinux
almalinuxalmalinux
almalinuxalmalinux
debianrsync< rsync 3.2.7-1+deb12u1 (bookworm)rsync 3.2.7-1+deb12u1 (bookworm)
nixosnixos< 24.1124.11
redhatenterprise_linux
redhatenterprise_linux
redhatenterprise_linux_eus
redhatenterprise_linux_for_arm_64
redhatenterprise_linux_for_arm_64
redhatenterprise_linux_for_arm_64_eus
redhatenterprise_linux_for_ibm_z_systems
redhatenterprise_linux_for_ibm_z_systems
redhatenterprise_linux_for_ibm_z_systems_eus
redhatenterprise_linux_for_power_little_endian
redhatenterprise_linux_for_power_little_endian
redhatenterprise_linux_for_power_little_endian_eus
redhatenterprise_linux_server_aus
redhatenterprise_linux_server_for_power_little_endian_update_services_for_sap_solution
redhatenterprise_linux_update_services_for_sap_solutions
sambarsync<= 3.3.0
sambarsync>= 0 < 3.2.3-4+deb11u23.2.3-4+deb11u2
sambarsync>= 0 < 3.2.7-1+deb12u13.2.7-1+deb12u1
sambarsync>= 0 < 3.3.0+ds1-33.3.0+ds1-3
sambarsync>= 0 < 3.3.0+ds1-33.3.0+ds1-3

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
osv9.8CRITICAL