MEDIUM · 6.5

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 options and can be enabled by the server even i...

Vulnerability Description

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.

CVSS Score

6.5

MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE

Affected Products

VendorProductVersions
SambaRsync<= 3.3.0
AlmalinuxAlmalinux8.0
ArchlinuxArch Linux-
GentooLinux-
NixosNixos< 24.11
SuseSuse Linux-
TritondatacenterSmartos< 20250123
RedhatEnterprise Linux8.0
RedhatEnterprise Linux Eus9.6
RedhatEnterprise Linux For Arm 648.0_aarch64
RedhatEnterprise Linux For Arm 64 Eus9.6_aarch64
RedhatEnterprise Linux For Ibm Z Systems8.0_s390x
RedhatEnterprise Linux For Ibm Z Systems Eus9.6_s390x
RedhatEnterprise Linux For Power Little Endian8.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

Related Weaknesses (CWE)

References

FAQ

What is CVE-2024-12087?

CVE-2024-12087 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 i...

How severe is CVE-2024-12087?

CVE-2024-12087 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2024-12087?

Check the references section above for vendor advisories and patch information. Affected products include: Samba Rsync, Almalinux Almalinux, Archlinux Arch Linux, Gentoo Linux, Nixos Nixos.