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 package | Versions | Reported by |
|---|---|---|
| rsync | up 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-rhel9 | Not specified Not affected: from 1.14.2-1748467619 before * | CVE List |
| openshift/ose-rhel-coreos-9 | Not specified | CVE List |
| samba rsync | up to 3.3.0 | NVD |
| redhat discovery | 1.14 | NVD |
| redhat openshift_container_platform | 4.0 | NVD |
| redhat enterprise_linux | 6.0, 7.0, 8.0, 9.0, 10.0 | NVD |
| redhat enterprise_linux_eus | 9.6 | NVD |
| redhat enterprise_linux_for_arm_64 | 8.0_aarch64, 9.0_aarch64 | NVD |
| redhat enterprise_linux_for_arm_64_eus | 9.6_aarch64 | NVD |
| redhat enterprise_linux_for_ibm_z_systems | 8.0_s390x, 9.0_s390x | NVD |
| redhat enterprise_linux_for_ibm_z_systems_eus | 9.6_s390x | NVD |
| redhat enterprise_linux_for_power_little_endian | 8.0_ppc64le, 9.0_ppc64le | NVD |
| redhat enterprise_linux_for_power_little_endian_eus | 9.6_ppc64le | NVD |
| redhat enterprise_linux_server_aus | 9.6 | NVD |
| redhat enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions | 9.6_ppc64le | NVD |
| redhat enterprise_linux_update_services_for_sap_solutions | 9.6 | NVD |
| archlinux arch_linux | Not specified | NVD |
| gentoo linux | Not specified | NVD |
| nixos nixos | before 24.11 | NVD |
| novell suse_linux | Not specified | NVD |
| tritondatacenter smartos | before 20250123 | NVD |
| almalinux almalinux | 8.0, 9.0, 10.0 | NVD |
All scores
| redhat | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Classification
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:6470 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2025:2600 | third-party-advisory, vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2025:7050 | third-party-advisory, vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2025:8385 | third-party-advisory, vendor-advisory | |
| https://access.redhat.com/security/cve/CVE-2024-12088 | third-party-advisory, vdb-entry | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2330676 | 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 | |
| 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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-12088 changed 2026-11-05 | CVE Terms of Use |
| NVD | CVE-2024-12088 changed 2026-11-05 | Public domain |