Vulnerability · Published Jan 14, 2025 · Assigned by redhat
CVE-2024-12086Rsync: rsync server leaks arbitrary client files
Medium 6.1
In plain English
A medium-severity security flaw in rsync. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 78% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A flaw was found in rsync. It could allow a server to enumerate the contents of an arbitrary file from the client's machine. This issue occurs when files are being copied from a client to a server. During this process, the rsync server will send checksums of local data to the client to compare with in order to determine what data needs to be sent to the server. By sending specially constructed checksum values for arbitrary files, an attacker may be able to reconstruct the data of those files byte-by-byte based on the responses from the client.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | rsync | 3.2.5-7.el9_8 | ALSA-2026:19368 |
| AlmaLinux:9 | rsync-daemon | 3.2.5-7.el9_8 | ALSA-2026:19368 |
| AlmaLinux:9 | rsync-rrsync | 3.2.5-7.el9_8 | ALSA-2026:19368 |
| Alpine:v3.20 | rsync | 3.4.0-r0 | ALPINE-CVE-2024-12086 |
| Alpine:v3.21 | rsync | 3.4.0-r0 | ALPINE-CVE-2024-12086 |
| Alpine:v3.22 | rsync | 3.4.0-r0 | ALPINE-CVE-2024-12086 |
| Alpine:v3.23 | rsync | 3.4.0-r0 | ALPINE-CVE-2024-12086 |
| Alpine:v3.24 | rsync | 3.4.0-r0 | ALPINE-CVE-2024-12086 |
| Debian:12 | rsync | 3.2.7-1+deb12u1 | DSA-5843-1 |
| Debian:12 | rsync | 3.2.7-1+deb12u1 | DEBIAN-CVE-2024-12086 |
| Debian:13 | rsync | 3.3.0+ds1-3 | DEBIAN-CVE-2024-12086 |
| Debian:14 | rsync | 3.3.0+ds1-3 | DEBIAN-CVE-2024-12086 |
| Rocky Linux:9 | rsync | 0:3.2.5-7.el9_8 | RLSA-2026:19368 |
| Ubuntu:22.04:LTS | rsync | 3.2.7-0ubuntu0.22.04.3 | USN-7206-1 |
| Ubuntu:22.04:LTS | rsync | 3.2.7-0ubuntu0.22.04.3 | UBUNTU-CVE-2024-12086 |
| Ubuntu:24.04:LTS | rsync | 3.2.7-1ubuntu1.1 | UBUNTU-CVE-2024-12086 |
| Ubuntu:24.04:LTS | rsync | 3.2.7-1ubuntu1.1 | USN-7206-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| rsync | 0 – through 3.3.0 | |
| Red Hat | Red Hat Enterprise Linux 10 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support | see references |
| Red Hat | Red Hat Discovery 2 | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat OpenShift Container Platform 4 | see references |
Weakness: CWE-390 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
References
- RHBA-2025:6470 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:19368 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:20603 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:29197 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-12086 vdb-entry, x_refsource_REDHAT
- RHBZ#2330577 issue-tracking, x_refsource_REDHAT
- https://kb.cert.org/vuls/id/952657
- https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj exploit
- https://security.netapp.com/advisory/ntap-20250131-0002/
- https://lists.debian.org/debian-lts-announce/2025/01/msg00008.html
- https://www.kb.cert.org/vuls/id/952657