Live threats

All CVEs / Samba

CVE-2024-12087Samba Rsync

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
2.3%
probability of exploitation in 30 days · percentile 84
Auth required
No
Published
Jan 14, 2025
Updated
Oct 21, 2026
Category
Server · Linux
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rsync.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
sambarsync≤ 3.3.0
almalinuxalmalinux8.0
almalinuxalmalinux9.0
almalinuxalmalinux10.0
archlinuxarch_linuxall
gentoolinuxall
nixosnixos< 24.11
susesuse_linuxall
tritondatacentersmartos< 20250123
redhatenterprise_linux8.0
redhatenterprise_linux9.0
redhatenterprise_linux_eus9.6
redhatenterprise_linux_for_arm_648.0_aarch64
redhatenterprise_linux_for_arm_649.0_aarch64
redhatenterprise_linux_for_arm_64_eus9.6_aarch64
redhatenterprise_linux_for_ibm_z_systems8.0_s390x
redhatenterprise_linux_for_ibm_z_systems9.0_s390x
redhatenterprise_linux_for_ibm_z_systems_eus9.6_s390x
redhatenterprise_linux_for_power_little_endian8.0_ppc64le
redhatenterprise_linux_for_power_little_endian9.0_ppc64le
redhatenterprise_linux_for_power_little_endian_eus9.6_ppc64le
redhatenterprise_linux_server_aus9.6
redhatenterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions9.6_ppc64le
redhatenterprise_linux_update_services_for_sap_solutions9.6

Official advisories

Also: Red Hat (+6)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.