CVE-2024-12087
Description
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.
How to fix
- nixos nixos24.11 or later
- tritondatacenter smartos20250123 or later
- access.redhat.com/errata/RHBA-2025:6470
- access.redhat.com/errata/RHSA-2025:23154
- access.redhat.com/errata/RHSA-2025:23235
- access.redhat.com/errata/RHSA-2025:23407
- access.redhat.com/errata/RHSA-2025:23415
- access.redhat.com/errata/RHSA-2025:23416
- access.redhat.com/errata/RHSA-2025:23842
- access.redhat.com/errata/RHSA-2025:23853
- access.redhat.com/errata/RHSA-2025:23854
- access.redhat.com/errata/RHSA-2025:23858
- access.redhat.com/errata/RHSA-2025:2600
- access.redhat.com/errata/RHSA-2025:7050
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| samba rsync | v ≤ 3.3.0 | — |
| almalinux almalinux | 8.0, 9.0, 10.0 | — |
| archlinux arch_linux | No range specified | — |
| gentoo linux | No range specified | — |
| nixos nixos | v < 24.11 | 24.11 |
| suse suse_linux | No range specified | — |
| tritondatacenter smartos | v < 20250123 | 20250123 |
| redhat enterprise_linux | 8.0, 9.0 | — |
| redhat enterprise_linux_eus | 9.6 | — |
| redhat enterprise_linux_for_arm_64 | 8.0_aarch64, 9.0_aarch64 | — |
| redhat enterprise_linux_for_arm_64_eus | 9.6_aarch64 | — |
| redhat enterprise_linux_for_ibm_z_systems | 8.0_s390x, 9.0_s390x | — |
| redhat enterprise_linux_for_ibm_z_systems_eus | 9.6_s390x | — |
| redhat enterprise_linux_for_power_little_endian | 8.0_ppc64le, 9.0_ppc64le | — |
| redhat enterprise_linux_for_power_little_endian_eus | 9.6_ppc64le | — |
| redhat enterprise_linux_server_aus | 9.6 | — |
| redhat enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions | 9.6_ppc64le | — |
| redhat enterprise_linux_update_services_for_sap_solutions | 9.6 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.