CVEvulnerability

CVE-2024-12087

7.5 HIGH Published 2025-01-14 Modified 2026-10-21 Official page ↗
Status
Modified
Published
2025-01-14
Last modified
2026-10-21
Assigner
[email protected]
CVSS 3.1 ([email protected])
6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
CVSS 3.1 ([email protected])
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-22

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.

Affected configurations

• samba rsync (<= 3.3.0) • almalinux almalinux 8.0 • almalinux almalinux 9.0 • almalinux almalinux 10.0 • archlinux arch linux • gentoo linux • nixos nixos (< 24.11) • suse suse linux • tritondatacenter smartos (< 20250123) • redhat enterprise linux 8.0 • redhat enterprise linux 9.0 • redhat enterprise linux eus 9.6 • redhat enterprise linux for arm 64 8.0 aarch64 • redhat enterprise linux for arm 64 9.0 aarch64 • redhat enterprise linux for arm 64 eus 9.6 aarch64 • redhat enterprise linux for ibm z systems 8.0 s390x • redhat enterprise linux for ibm z systems 9.0 s390x • redhat enterprise linux for ibm z systems eus 9.6 s390x • redhat enterprise linux for power little endian 8.0 ppc64le • redhat enterprise linux for power little endian 9.0 ppc64le • redhat enterprise linux for power little endian eus 9.6 ppc64le • redhat enterprise linux server aus 9.6 • redhat enterprise linux server for power little endian update services for sap solutions 9.6 ppc64le • redhat enterprise linux update services for sap solutions 9.6

Related

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References