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.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)1.8%top 21.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
AlmaLinux:9rsync3.2.5-7.el9_8ALSA-2026:19368
AlmaLinux:9rsync-daemon3.2.5-7.el9_8ALSA-2026:19368
AlmaLinux:9rsync-rrsync3.2.5-7.el9_8ALSA-2026:19368
Alpine:v3.20rsync3.4.0-r0ALPINE-CVE-2024-12086
Alpine:v3.21rsync3.4.0-r0ALPINE-CVE-2024-12086
Alpine:v3.22rsync3.4.0-r0ALPINE-CVE-2024-12086
Alpine:v3.23rsync3.4.0-r0ALPINE-CVE-2024-12086
Alpine:v3.24rsync3.4.0-r0ALPINE-CVE-2024-12086
Debian:12rsync3.2.7-1+deb12u1DSA-5843-1
Debian:12rsync3.2.7-1+deb12u1DEBIAN-CVE-2024-12086
Debian:13rsync3.3.0+ds1-3DEBIAN-CVE-2024-12086
Debian:14rsync3.3.0+ds1-3DEBIAN-CVE-2024-12086
Rocky Linux:9rsync0:3.2.5-7.el9_8RLSA-2026:19368
Ubuntu:22.04:LTSrsync3.2.7-0ubuntu0.22.04.3USN-7206-1
Ubuntu:22.04:LTSrsync3.2.7-0ubuntu0.22.04.3UBUNTU-CVE-2024-12086
Ubuntu:24.04:LTSrsync3.2.7-1ubuntu1.1UBUNTU-CVE-2024-12086
Ubuntu:24.04:LTSrsync3.2.7-1ubuntu1.1USN-7206-1

Affected products (as reported)

Weakness: CWE-390 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N

References