CVE-2024-12087 Details
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.
A path traversal vulnerability has been identified in the rsync utility, specifically in versions through 3.2.7. This vulnerability arises when the '--inc-recursive' option is enabled, either by default for many client options or by the server without client acknowledgment. The issue stems from inadequate verification of symbolic links, allowing a malicious server to manipulate file writing locations on the client, potentially overwriting critical files. This vulnerability is particularly concerning as it can be exploited to exfiltrate sensitive data or execute arbitrary code by overwriting files that are executed as scripts.
Users can update to rsync version 3.4.0 or later, where this vulnerability has been patched. For Red Hat Enterprise Linux 8 and 9, the update is available through the Red Hat Product Errata RHSA-2025:2600 and RHSA-2025:7050, respectively.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 26, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| samba rsync | <= 3.3.0 |
CPE
Remediation
| |
| almalinux almalinux | 8.0 - 9.0 - 10.0 - |
CPE
Remediation
| |
| archlinux arch linux | All versions |
CPE
Remediation
| |
| gentoo linux | All versions |
CPE
Remediation
| |
| nixos nixos | < 24.11 |
CPE
Remediation
| |
| suse suse linux | All versions |
CPE
Remediation
| |
| tritondatacenter smartos | < 20250123 |
CPE
Remediation
| |
| redhat enterprise linux | 8.0 9.0 |
CPE
Remediation
| |
| redhat enterprise linux eus | 9.6 |
CPE
Remediation
| |
| redhat enterprise linux for arm 64 | 8.0_aarch64 9.0_aarch64 |
CPE
Remediation
| |
| redhat enterprise linux for arm 64 eus | 9.6_aarch64 |
CPE
Remediation
| |
| redhat enterprise linux for ibm z systems | 8.0_s390x 9.0_s390x |
CPE
Remediation
| |
| redhat enterprise linux for ibm z systems eus | 9.6_s390x |
CPE
Remediation
| |
| redhat enterprise linux for power little endian | 8.0_ppc64le 9.0_ppc64le |
CPE
Remediation
| |
| redhat enterprise linux for power little endian eus | 9.6_ppc64le |
CPE
Remediation
| |
| redhat enterprise linux server aus | 9.6 |
CPE
Remediation
| |
| redhat enterprise linux server for power little endian update services for sap solutions | 9.6_ppc64le |
CPE
Remediation
| |
| redhat enterprise linux update services for sap solutions | 9.6 |
CPE
Remediation
| |
Change History
26 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 21, 2026 | CVE Modified | [email protected] |
| Oct 21, 2026 | CVE Modified | CISA-ADP |
| Oct 21, 2026 | CVE Modified | CVE |
| Oct 21, 2026 | CVE Modified | [email protected] |
| Jun 30, 2026 | CVE Modified | [email protected] |
| Jun 25, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Apr 14, 2026 | CVE Modified | [email protected] |
| Dec 22, 2025 | CVE Modified | [email protected] |
| Dec 22, 2025 | CVE Modified | [email protected] |
| Dec 22, 2025 | CVE Modified | [email protected] |
| Dec 17, 2025 | CVE Modified | [email protected] |
| Dec 17, 2025 | CVE Modified | [email protected] |
| Dec 16, 2025 | CVE Modified | [email protected] |
| Dec 15, 2025 | CVE Modified | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Nov 3, 2025 | CVE Modified | CVE |
| Aug 12, 2025 | CVE Modified | [email protected] |
| Jun 20, 2025 | Initial Analysis | [email protected] |
| Jun 2, 2025 | CVE Modified | [email protected] |
| May 13, 2025 | CVE Modified | [email protected] |
| Mar 11, 2025 | CVE Modified | [email protected] |
| Feb 26, 2025 | CVE Modified | CISA-ADP |
| Jan 14, 2025 | CVE Modified | [email protected] |
| Jan 14, 2025 | New CVE Received | [email protected] |