CVEvulnerability
CVE-2024-12087
7.5 HIGH
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
- https://access.redhat.com/errata/RHBA-2025:6470 access.redhat.com
- https://access.redhat.com/errata/RHSA-2025:23154 access.redhat.com
- https://access.redhat.com/errata/RHSA-2025:23235 access.redhat.com
- https://access.redhat.com/errata/RHSA-2025:23407 access.redhat.com
- https://access.redhat.com/errata/RHSA-2025:23415 access.redhat.com
- https://access.redhat.com/errata/RHSA-2025:23416 access.redhat.com
- https://access.redhat.com/errata/RHSA-2025:23842 access.redhat.com
- https://access.redhat.com/errata/RHSA-2025:23853 access.redhat.com
- https://access.redhat.com/errata/RHSA-2025:23854 access.redhat.com
- https://access.redhat.com/errata/RHSA-2025:23858 access.redhat.com
- https://access.redhat.com/errata/RHSA-2025:2600 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2025:7050 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2025:8385 Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2024-12087 Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2330672 Issue Tracking, Third Party Advisory
- https://kb.cert.org/vuls/id/952657 Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/01/msg00008.html lists.debian.org
- https://security.netapp.com/advisory/ntap-20250131-0002/ security.netapp.com
- https://www.kb.cert.org/vuls/id/952657 www.kb.cert.org
- https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj Exploit, Third Party Advisory