rsync: A path traversal vulnerability exists in rsync
CVE-2024-12087 is fixed in 5 products on 1 platform, first by rsync 3.1.2-2.1ubuntu1.6+esm1, released January 8, 2025. It is not reported as exploited. Patch Radar priority: High.
A path traversal vulnerability exists in rsync. It stems from behaviorenabled by the `--inc-recursive` option, a default-enabled option for manyclient options and can be enabled by the server even if not explicitlyenabled by the client. When using the `--inc-recursive` option, a lack ofproper symlink verification coupled with deduplication checks occurring ona per-file-list basis could allow a server to write files outside of theclient's intended destination directory. A malicious server could writemalicious files to arbitrary locations named after valid directories/pathson the client.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| rsync · Debian 12.15 (bookworm) | 3.2.7-1+deb12u1 | DEBIAN-CVE-2024-12087 | Jan 14, 2025 |
| rsync · Debian 13.5 (trixie) | 3.3.0+ds1-3 | DEBIAN-CVE-2024-12087 | Jan 14, 2025 |
| rsync · Debian 14 | 3.3.0+ds1-3 | DEBIAN-CVE-2024-12087 | Jan 14, 2025 |
| rsync · RHEL 10 | 3.4.1-2.el10 | RHBA-2025:6470 | Jan 14, 2025 |
| rsync · RHEL 8 | 0:3.1.3-21.el8_10 | RHSA-2025:2600 | Mar 11, 2025 |
| rsync · RHEL 9 | 0:3.2.5-3.el9 | RHSA-2025:7050 | May 13, 2025 |
| rsync · Ubuntu 18.04.6 LTS (bionic) | 3.1.2-2.1ubuntu1.6+esm1 | rsync 3.1.2-2.1ubuntu1.6+esm1 | Jan 8, 2025 |
| rsync · Ubuntu 20.04 LTS (focal) | 3.1.3-8ubuntu0.8 | rsync 3.1.3-8ubuntu0.8 | Jan 8, 2025 |
| rsync · Ubuntu 22.04.1 LTS (jammy) | 3.2.7-0ubuntu0.22.04.3 | rsync 3.2.7-0ubuntu0.22.04.3 | Jan 8, 2025 |
| rsync · Ubuntu 24.04.5 LTS (noble) | 3.2.7-1ubuntu1.1 | rsync 3.2.7-1ubuntu1.1 | Jan 8, 2025 |
| rsync · Ubuntu 24.10 (oracular) | 3.3.0-1ubuntu0.1 | rsync 3.3.0-1ubuntu0.1 | Jan 16, 2026 |
| rsync · almalinux 8 | 3.1.3-21.el8_10 | ALSA-2025:2600 | Mar 11, 2025 |
| rsync · almalinux 9 | 3.2.5-3.el9 | ALSA-2025:7050 | May 13, 2025 |
| rsync · amzn 2023 | 3.4.0-1.amzn2023.0.2 | ALAS2023-2025-801 | Jan 16, 2025 |
| rsync · ol 8 | 0:3.1.3-21.el8_10 | ELSA-2025-2600 | Mar 10, 2025 |
| rsync · ol 9 | 0:3.2.5-3.el9 | ELSA-2025-7050 | May 16, 2025 |
| rsync · opensuse-leap 15.6 | 3.2.7-150600.3.8.1 | SUSE-SU-2025:0156-1 | Jan 17, 2025 |
| rsync · rocky 8 | 0:3.1.3-21.el8_10 | RLSA-2025:2600 | May 7, 2025 |
| rsync · rocky 9 | 0:3.2.5-3.el9 | RLSA-2025:7050 | Oct 4, 2025 |
| rsync · sles 15.6 | 3.2.7-150600.3.8.1 | SUSE-SU-2025:0156-1 | Jan 17, 2025 |
| rsync-daemon · RHEL 8 | 0:3.1.3-21.el8_10 | RHSA-2025:2600 | Mar 11, 2025 |
| rsync-daemon · RHEL 9 | 0:3.2.5-3.el9 | RHSA-2025:7050 | May 13, 2025 |
| rsync-daemon · almalinux 8 | 3.1.3-21.el8_10 | ALSA-2025:2600 | Mar 11, 2025 |
| rsync-daemon · almalinux 9 | 3.2.5-3.el9 | ALSA-2025:7050 | May 13, 2025 |
| rsync-daemon · amzn 2023 | 3.4.0-1.amzn2023.0.2 | ALAS2023-2025-801 | Jan 16, 2025 |
| rsync-daemon · ol 8 | 0:3.1.3-21.el8_10 | ELSA-2025-2600 | Mar 10, 2025 |
| rsync-daemon · ol 9 | 0:3.2.5-3.el9 | ELSA-2025-7050 | May 16, 2025 |
| rsync-debuginfo · amzn 2023 | 3.4.0-1.amzn2023.0.2 | ALAS2023-2025-801 | Jan 16, 2025 |
| rsync-debugsource · amzn 2023 | 3.4.0-1.amzn2023.0.2 | ALAS2023-2025-801 | Jan 16, 2025 |
| rsync-rrsync · RHEL 9 | 0:3.2.5-3.el9 | RHSA-2025:7050 | May 13, 2025 |
| rsync-rrsync · almalinux 9 | 3.2.5-3.el9 | ALSA-2025:7050 | May 13, 2025 |
| rsync-rrsync · ol 9 | 0:3.2.5-3.el9 | ELSA-2025-7050 | May 16, 2025 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.