CVE-2024-12088
Rsync: --safe-links option bypass leads to path traversal
Reported by redhat · Published January 14, 2025
rsync is fixed in 3.3.0 (GitHub Packages)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| rsync | GitHub Packages | 3.3.0 |
| rsync | Arch Linux | 3.4.0-1 |
| rsync | Alpine | 3.4.0-r0 |
| rsync | Amazon Linux | 3.4.0-1.amzn2023.0.2, 3.1.2-11.amzn2.0.5 |
| rsync-daemon | Amazon Linux | 3.4.0-1.amzn2023.0.2 |
| nixos | nixos | 24.11 |
| smartos | tritondatacenter | 20250123 |
| rsync | samba | 3.3.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 0 | ||
| Red Hat | Red Hat Enterprise Linux 10 | 0:3.4.1-2.el10 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:3.1.3-21.el8_10 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:3.2.5-3.el9 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:3.2.5-3.el9 |
| Red Hat | Red Hat Discovery 1.14 | 1.14.2-1748467619 |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat Discovery 1.14 | 1.14.2-1748467619 |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat Enterprise Linux 9 | 0:3.2.5-3.el9 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:3.1.3-21.el8_10 |
| Red Hat | Red Hat Enterprise Linux 10 | 0:3.4.1-2.el10 |
| Red Hat | Red Hat Enterprise Linux 6 | |
| 0 | ||
| Red Hat | Red Hat Enterprise Linux 7 |
Timeline
- Jan 14, 2025 PoC Published (21 in total, the first dated here)
- Jan 14, 2025 CVE Published
- Jan 15, 2025 EPSS Score (30 in total, the first dated here)
- Feb 26, 2025 Coalition ESS Score (26 in total, the first dated here)
- Jan 21, 2026 Security Advisory (59 in total, the first dated here)
- Jan 21, 2026 CVE Updated
- Oct 13, 2026 Distribution Patch (50 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-12088
vulnetix vdb fixes CVE-2024-12088
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-12088/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHBA-2025:6470 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:2600 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:7050 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:8385 vendor-advisoryx_refsource_REDHAT
- vdb-entryx_refsource_REDHAT
- RHBZ#2330676 issue-trackingx_refsource_REDHAT
- https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj exploit
- https://security.netapp.com/advisory/ntap-20250131-0002/ url
- https://lists.debian.org/debian-lts-announce/2025/01/msg00008.html url
- https://www.kb.cert.org/vuls/id/952657 url