7.5
HIGH
CVE-2024-12087
"Rsync Symlink Injection File PATH Traversal 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.

INFO

Published Date :

Jan. 14, 2025, 6:15 p.m.

Last Modified :

June 20, 2025, 6:28 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2024-12087 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2024-12087 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux
2 Redhat enterprise_linux_server_aus
3 Redhat enterprise_linux_eus
4 Redhat enterprise_linux_for_ibm_z_systems_eus
5 Redhat enterprise_linux_for_power_little_endian
6 Redhat enterprise_linux_for_power_little_endian_eus
7 Redhat enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions
8 Redhat enterprise_linux_for_ibm_z_systems
9 Redhat enterprise_linux_for_arm_64
10 Redhat enterprise_linux_for_arm_64_eus
11 Redhat enterprise_linux_update_services_for_sap_solutions
1 Samba rsync
1 Suse suse_linux
1 Gentoo linux
1 Nixos nixos
1 Archlinux arch_linux
1 Tritondatacenter smartos
1 Almalinux almalinux
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-12087.

URL Resource
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://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj Exploit Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

我的RPM库

Updated: 1 month, 3 weeks ago
8 stars 0 fork 0 watcher
Born at : Nov. 9, 2024, 9:08 a.m. This repo has been linked 11 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-12087 vulnerability anywhere in the article.

  • BleepingComputer
QNAP fixes six Rsync vulnerabilities in NAS backup, recovery app

QNAP has fixed six rsync vulnerabilities that could let attackers gain remote code execution on unpatched Network Attached Storage (NAS) devices. Rsync is an open-source file synchronization tool that ... Read more

Published Date: Jan 23, 2025 (5 months ago)
  • BleepingComputer
Over 660,000 Rsync servers exposed to code execution attacks

Over 660,000 exposed Rsync servers are potentially vulnerable to six new vulnerabilities, including a critical-severity heap-buffer overflow flaw that allows remote code execution on servers. Rsync is ... Read more

Published Date: Jan 15, 2025 (5 months, 1 week ago)
  • Help Net Security
Rsync vulnerabilities allow remote code execution on servers, patch quickly!

Six vulnerabilities have been fixed in the newest versions of Rsync (v3.4.0), two of which could be exploited by a malicious client to achieve arbitrary code execution on a machine with a running Rsyn ... Read more

Published Date: Jan 15, 2025 (5 months, 1 week ago)

The following table lists the changes that have been made to the CVE-2024-12087 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jun. 20, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
    Added CWE CWE-22
    Added CPE Configuration OR *cpe:2.3:a:samba:rsync:*:*:*:*:*:*:*:* versions up to (including) 3.3.0
    Added CPE Configuration OR *cpe:2.3:o:almalinux:almalinux:9.0:-:*:*:*:*:*:* *cpe:2.3:o:almalinux:almalinux:10.0:-:*:*:*:*:*:* *cpe:2.3:o:almalinux:almalinux:8.0:-:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:archlinux:arch_linux:-:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:gentoo:linux:-:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:nixos:nixos:*:*:*:*:*:*:*:* versions up to (excluding) 24.11
    Added CPE Configuration OR *cpe:2.3:o:suse:suse_linux:-:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:tritondatacenter:smartos:*:*:*:*:*:*:*:* versions up to (excluding) 20250123
    Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_arm_64:9.0_aarch64:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:8.0_ppc64le:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:8.0_s390x:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_arm_64:8.0_aarch64:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_eus:9.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:9.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:9.0_s390x:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:9.0_ppc64le:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_arm_64_eus:9.6_aarch64:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus:9.6_s390x:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus:9.6_ppc64le:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions:9.6_ppc64le:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_update_services_for_sap_solutions:9.6:*:*:*:*:*:*:*
    Added Reference Type Red Hat, Inc.: https://access.redhat.com/errata/RHSA-2025:2600 Types: Third Party Advisory
    Added Reference Type Red Hat, Inc.: https://access.redhat.com/errata/RHSA-2025:7050 Types: Third Party Advisory
    Added Reference Type Red Hat, Inc.: https://access.redhat.com/errata/RHSA-2025:8385 Types: Third Party Advisory
    Added Reference Type Red Hat, Inc.: https://access.redhat.com/security/cve/CVE-2024-12087 Types: Third Party Advisory
    Added Reference Type Red Hat, Inc.: https://bugzilla.redhat.com/show_bug.cgi?id=2330672 Types: Issue Tracking, Third Party Advisory
    Added Reference Type CISA-ADP: https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj Types: Exploit, Third Party Advisory
    Added Reference Type Red Hat, Inc.: https://kb.cert.org/vuls/id/952657 Types: Third Party Advisory
  • CVE Modified by [email protected]

    Jun. 02, 2025

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2025:8385
  • CVE Modified by [email protected]

    May. 13, 2025

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2025:7050
  • CVE Modified by [email protected]

    Mar. 11, 2025

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2025:2600
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Feb. 26, 2025

    Action Type Old Value New Value
    Added Reference https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj
  • CVE Modified by [email protected]

    Jan. 14, 2025

    Action Type Old Value New Value
    Added Reference https://kb.cert.org/vuls/id/952657
  • New CVE Received by [email protected]

    Jan. 14, 2025

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
    Added CWE CWE-35
    Added Reference https://access.redhat.com/security/cve/CVE-2024-12087
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2330672
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-12087 is associated with the following CWEs:

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: Jun. 25, 2025 7:33