medium6.5
CVE-2024-12087
A path traversal vulnerability exists in rsync.
Impact
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.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Samba | Rsync | through 3.3.0 |
| Almalinux | Almalinux | Versions 8.0, 9.0, 10.0 |
| Archlinux | Arch Linux | All versions |
| Gentoo | Linux | All versions |
| Nixos | Nixos | before 24.11 |
| Suse | Suse Linux | All versions |
| Tritondatacenter | Smartos | before 20250123 |
| Redhat | Enterprise Linux | Versions 8.0, 9.0 |
| Redhat | Enterprise Linux Eus | Version 9.6 |
| Redhat | Enterprise Linux For Arm 64 | Versions 8.0_aarch64, 9.0_aarch64 |
| Redhat | Enterprise Linux For Arm 64 Eus | Version 9.6_aarch64 |
| Redhat | Enterprise Linux For Ibm Z Systems | Versions 8.0_s390x, 9.0_s390x |
Weakness classification
References
- NVD record
- CVE.org record
- https://access.redhat.com/errata/RHBA-2025:6470
- https://access.redhat.com/errata/RHSA-2025:23154
- https://access.redhat.com/errata/RHSA-2025:23235
- https://access.redhat.com/errata/RHSA-2025:23407
- https://access.redhat.com/errata/RHSA-2025:23415
- https://access.redhat.com/errata/RHSA-2025:23416
- https://access.redhat.com/errata/RHSA-2025:23842
- https://access.redhat.com/errata/RHSA-2025:23853
- https://access.redhat.com/errata/RHSA-2025:23854
- https://access.redhat.com/errata/RHSA-2025:23858
- https://access.redhat.com/errata/RHSA-2025:2600
- https://access.redhat.com/errata/RHSA-2025:7050
- https://access.redhat.com/errata/RHSA-2025:8385
- https://access.redhat.com/security/cve/CVE-2024-12087
- https://bugzilla.redhat.com/show_bug.cgi?id=2330672
- https://kb.cert.org/vuls/id/952657
- https://lists.debian.org/debian-lts-announce/2025/01/msg00008.html
- https://security.netapp.com/advisory/ntap-20250131-0002/
- https://www.kb.cert.org/vuls/id/952657
- https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj