CVE-2024-12088
JSON

6.5medium

Rsync: --safe-links option bypass leads to path traversal

Severity
6.5medium CVSS:3.1 by redhat
Exploit likelihood
4.65% (higher than 91% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

Description

A flaw was found in rsync. When using the `--safe-links` option, the rsync client fails to properly verify if a symbolic link destination sent from the server contains another symbolic link within it. This results in a path traversal vulnerability, which may lead to arbitrary file write outside the desired directory.

Affected

Product or packageVersionsReported by
rsyncup to 3.3.0
Not affected: from 0:3.4.1-2.el10 before *, from 0:3.1.3-21.el8_10 before *, from 0:3.2.5-3.el9 before *
CVE List
discovery/discovery-ui-rhel9Not specified
Not affected: from 1.14.2-1748467619 before *
CVE List
openshift/ose-rhel-coreos-9Not specifiedCVE List
samba rsyncup to 3.3.0NVD
redhat discovery1.14NVD
redhat openshift_container_platform4.0NVD
redhat enterprise_linux6.0, 7.0, 8.0, 9.0, 10.0NVD
redhat enterprise_linux_eus9.6NVD
redhat enterprise_linux_for_arm_648.0_aarch64, 9.0_aarch64NVD
redhat enterprise_linux_for_arm_64_eus9.6_aarch64NVD
redhat enterprise_linux_for_ibm_z_systems8.0_s390x, 9.0_s390xNVD
redhat enterprise_linux_for_ibm_z_systems_eus9.6_s390xNVD

All scores

redhat6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

A flaw was found in rsync. When using the `--safe-links` option, the rsync client fails to properly verify if a symbolic link destination sent from the server contains another symbolic link within it. This results in a path traversal vulnerability, which may lead to arbitrary file write outside the desired directory.

NVD (es)

Se encontró un fallo en rsync. Al usar la opción `--safe-links`, rsync no verifica correctamente si un destino de enlace simbólico contiene otro enlace simbólico dentro de él. Esto genera una vulnerabilidad de Path Traversal, que puede provocar la escritura arbitraria de archivos fuera del directorio deseado.

References

https://access.redhat.com/errata/RHBA-2025:6470vendor-advisory
https://access.redhat.com/errata/RHSA-2025:2600third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:7050third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:8385third-party-advisory, vendor-advisory
https://access.redhat.com/security/cve/CVE-2024-12088third-party-advisory, vdb-entry
https://bugzilla.redhat.com/show_bug.cgi?id=2330676issue-tracking, third-party-advisory
https://kb.cert.org/vuls/id/952657third-party-advisory
https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqjexploit, third-party-advisory
https://security.netapp.com/advisory/ntap-20250131-0002/
https://lists.debian.org/debian-lts-announce/2025/01/msg00008.html
https://www.kb.cert.org/vuls/id/952657

Sources

SourceRecordLicence
CVE ListCVE-2024-12088 changed 2026-11-05CVE Terms of Use
NVDCVE-2024-12088 changed 2026-11-05Public domain