
CVE catalog
CVE-2024-12087
rsync vulnerabilities
- Severity
- High · CVSS 8.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.26% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | rsync | sid | 3.5.1+ds1-2 | fixed |
| Debian | rsync | forky | 3.5.1+ds1-2 | fixed |
| Debian | rsync | trixie | 3.4.1+ds1-5+deb13u4 | fixed |
| Debian | rsync | trixie-security | 3.5.0+ds1-0+deb13u1 | fixed |
| Debian | rsync | bookworm | 3.2.7-1+deb12u6 | fixed |
| Debian | rsync | bookworm-security | 3.2.7-1+deb12u5 | fixed |
| Ubuntu | rsync | noble | 3.2.7-1+deb12u1 | fixed |
| Ubuntu | rsync | noble | 3.2.7-1ubuntu1.1 | fixed |
| Alpine | rsync | 3.18 | 3.4.0-r0 | fixed |
| Alpine | rsync | 3.19 | 3.4.0-r0 | fixed |
| Alpine | rsync | 3.20 | 3.4.0-r0 | fixed |
| Alpine | rsync | 3.21 | 3.4.0-r0 | fixed |
| Alpine | rsync | 3.22 | 3.4.0-r0 | fixed |
| Alpine | rsync | 3.23 | 3.4.0-r0 | fixed |
| Alpine | rsync | 3.24 | 3.4.0-r0 | fixed |
| Cpe | rsync | Not reported | Not reported | unknown |
| Cpe | almalinux | Not reported | Not reported | unknown |
| Cpe | arch_linux | Not reported | Not reported | unknown |
| Cpe | linux | Not reported | Not reported | unknown |
| Cpe | nixos | Not reported | 24.11 | fixed |
| Cpe | suse_linux | Not reported | Not reported | unknown |
| Cpe | smartos | Not reported | 20250123 | fixed |
| Cpe | enterprise_linux | Not reported | Not reported | unknown |
| Cpe | enterprise_linux_eus | Not reported | Not reported | unknown |
| Cpe | enterprise_linux_for_arm_64 | Not reported | Not reported | unknown |
| Cpe | enterprise_linux_for_arm_64_eus | Not reported | Not reported | unknown |
| Cpe | enterprise_linux_for_ibm_z_systems | Not reported | Not reported | unknown |
| Cpe | enterprise_linux_for_ibm_z_systems_eus | Not reported | Not reported | unknown |
| Cpe | enterprise_linux_for_power_little_endian | Not reported | Not reported | unknown |
| Ubuntu | rsync | pro | 3.1.2-2 | vulnerable |
| Ubuntu | rsync | pro | 3.1.2-2.1 | vulnerable |
| Ubuntu | rsync | pro | 3.1.2-2.1ubuntu1 | vulnerable |
| Ubuntu | rsync | pro | 3.1.2-2.1ubuntu1.1 | vulnerable |
| Ubuntu | rsync | pro | 3.1.2-2.1ubuntu1.2 | vulnerable |
| Ubuntu | rsync | pro | 3.1.2-2.1ubuntu1.3 | vulnerable |
| Ubuntu | rsync | pro | 3.1.2-2.1ubuntu1.4 | vulnerable |
| Ubuntu | rsync | pro | 3.1.2-2.1ubuntu1.5 | vulnerable |
| Ubuntu | rsync | pro | 3.1.2-2.1ubuntu1.6 | vulnerable |
| Ubuntu | rsync | pro | 3.1.2-2.1ubuntu1.6+esm1 | fixed |
| Ubuntu | rsync | 20.04 | 3.1.3-6 | vulnerable |
| Ubuntu | rsync | 20.04 | 3.1.3-8 | vulnerable |
| Ubuntu | rsync | 20.04 | 3.1.3-8ubuntu0.1 | vulnerable |
| Ubuntu | rsync | 20.04 | 3.1.3-8ubuntu0.2 | vulnerable |
| Ubuntu | rsync | 20.04 | 3.1.3-8ubuntu0.3 | vulnerable |
| Ubuntu | rsync | 20.04 | 3.1.3-8ubuntu0.4 | vulnerable |
| Ubuntu | rsync | 20.04 | 3.1.3-8ubuntu0.5 | vulnerable |
| Ubuntu | rsync | 20.04 | 3.1.3-8ubuntu0.7 | vulnerable |
| Ubuntu | rsync | 20.04 | 3.1.3-8ubuntu0.8 | fixed |
| Ubuntu | rsync | 22.04 | 3.2.3-4ubuntu1 | vulnerable |
| Ubuntu | rsync | 22.04 | 3.2.3-4ubuntu2 | vulnerable |
| Ubuntu | rsync | 22.04 | 3.2.3-8ubuntu1 | vulnerable |
| Ubuntu | rsync | 22.04 | 3.2.3-8ubuntu2 | vulnerable |
| Ubuntu | rsync | 22.04 | 3.2.3-8ubuntu3 | vulnerable |
| Ubuntu | rsync | 22.04 | 3.2.3-8ubuntu3.1 | vulnerable |
| Ubuntu | rsync | 22.04 | 3.2.7-0ubuntu0.22.04.2 | vulnerable |
| Ubuntu | rsync | 22.04 | 3.2.7-0ubuntu0.22.04.3 | fixed |
| Ubuntu | rsync | 24.04 | 3.2.7-1 | vulnerable |
| Ubuntu | rsync | 24.04 | 3.2.7-1build1 | vulnerable |
| Ubuntu | rsync | 24.04 | 3.2.7-1build2 | vulnerable |
| Ubuntu | rsync | 24.04 | 3.2.7-1ubuntu1 | vulnerable |
| Ubuntu | rsync | 24.04 | 3.2.7-1ubuntu1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rsync | source | sid | 3.3.0+ds1-3 | not yet assigned | Not reported | Not reported |
| Debian | rsync | source | forky | 3.3.0+ds1-3 | not yet assigned | Not reported | Not reported |
| Debian | rsync | source | trixie | 3.3.0+ds1-3 | not yet assigned | Not reported | Not reported |
| Debian | rsync | source | bookworm | 3.2.7-1+deb12u1 | not yet assigned | Not reported | Not reported |
| Ubuntu | rsync | deb | noble | 3.2.7-1+deb12u1 | Not reported | Not reported | Not reported |
| Ubuntu | rsync | deb | noble | 3.2.7-1ubuntu1.1 | Not reported | Not reported | Not reported |
| Alpine | rsync | apk | 3.18 | 3.4.0-r0 | Not reported | ALPINE-CVE-2024-12087 | Not reported |
| Alpine | rsync | apk | 3.19 | 3.4.0-r0 | Not reported | ALPINE-CVE-2024-12087 | Not reported |
| Alpine | rsync | apk | 3.20 | 3.4.0-r0 | Not reported | ALPINE-CVE-2024-12087 | Not reported |
| Alpine | rsync | apk | 3.21 | 3.4.0-r0 | Not reported | ALPINE-CVE-2024-12087 | Not reported |
| Alpine | rsync | apk | 3.22 | 3.4.0-r0 | Not reported | ALPINE-CVE-2024-12087 | Not reported |
| Alpine | rsync | apk | 3.23 | 3.4.0-r0 | Not reported | ALPINE-CVE-2024-12087 | Not reported |
| Alpine | rsync | apk | 3.24 | 3.4.0-r0 | Not reported | ALPINE-CVE-2024-12087 | Not reported |
| Cpe | nixos | cpe | Not reported | 24.11 | Not reported | NVD-CVE-2024-12087 | Not reported |
| Cpe | smartos | cpe | Not reported | 20250123 | Not reported | NVD-CVE-2024-12087 | Not reported |
| Ubuntu | rsync | deb | pro | 3.1.2-2.1ubuntu1.6+esm1 | Not reported | UBUNTU-CVE-2024-12087 | Not reported |
| Ubuntu | rsync | deb | 20.04 | 3.1.3-8ubuntu0.8 | Not reported | UBUNTU-CVE-2024-12087 | Not reported |
| Ubuntu | rsync | deb | 22.04 | 3.2.7-0ubuntu0.22.04.3 | Not reported | UBUNTU-CVE-2024-12087 | Not reported |
| Ubuntu | rsync | deb | 24.04 | 3.2.7-1ubuntu1.1 | Not reported | UBUNTU-CVE-2024-12087 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhba-2025_6470.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2024-12087]
- [https://osv.dev/vulnerability/ALPINE-CVE-2024-12087]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-12087]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-12087]
- [https://security-tracker.debian.org/tracker/CVE-2024-12087]
- [https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-12087.json]
- [https://ubuntu.com/security/notices/USN-7206-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-0084.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]