Vulnerability · Published Jan 14, 2025 · Assigned by redhat

CVE-2024-12085Rsync: info leak via uninitialized stack contents

High 7.5

In plain English

A high-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 8.6% (higher than 95% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)8.6%top 4.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official description

A flaw was found in rsync which could be triggered when rsync compares file checksums. This flaw allows an attacker to manipulate the checksum length (s2length) to cause a comparison between a checksum and uninitialized memory and leak one byte of uninitialized stack data at a time.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8rsync3.1.3-20.el8_10ALSA-2025:0325
AlmaLinux:9rsync3.2.3-20.el9_5.1ALSA-2025:0324
AlmaLinux:8rsync-daemon3.1.3-20.el8_10ALSA-2025:0325
AlmaLinux:9rsync-daemon3.2.3-20.el9_5.1ALSA-2025:0324
Alpine:v3.20rsync3.4.0-r0ALPINE-CVE-2024-12085
Alpine:v3.21rsync3.4.0-r0ALPINE-CVE-2024-12085
Alpine:v3.22rsync3.4.0-r0ALPINE-CVE-2024-12085
Alpine:v3.23rsync3.4.0-r0ALPINE-CVE-2024-12085
Alpine:v3.24rsync3.4.0-r0ALPINE-CVE-2024-12085
Debian:12rsync3.2.7-1+deb12u1DSA-5843-1
Debian:12rsync3.2.7-1+deb12u1DEBIAN-CVE-2024-12085
Debian:13rsync3.3.0+ds1-3DEBIAN-CVE-2024-12085
Debian:14rsync3.3.0+ds1-3DEBIAN-CVE-2024-12085
Rocky Linux:8rsync0:3.1.3-20.el8_10RLSA-2025:0325
Rocky Linux:9rsync0:3.2.3-20.el9_5.1RLSA-2025:0324
Ubuntu:22.04:LTSrsync3.2.7-0ubuntu0.22.04.3USN-7206-1
Ubuntu:22.04:LTSrsync3.2.7-0ubuntu0.22.04.3UBUNTU-CVE-2024-12085
Ubuntu:24.04:LTSrsync3.2.7-1ubuntu1.1UBUNTU-CVE-2024-12085
Ubuntu:24.04:LTSrsync3.2.7-1ubuntu1.1USN-7206-1

Affected products (as reported)

VendorProductVersions
rsync 0 – through 3.3.0
Red Hat Red Hat Enterprise Linux 10 see references
Red Hat Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION see references
Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support see references
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support see references
Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support see references
Red Hat Red Hat Enterprise Linux 8.4 Telecommunications Update Service see references
Red Hat Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions see references
Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support see references
Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service see references
Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions see references
Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support 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.0 Update Services for SAP Solutions see references
Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support see references
Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support see references
Red Hat Red Hat OpenShift Container Platform 4.12 see references
Red Hat Red Hat OpenShift Container Platform 4.13 see references
Red Hat Red Hat OpenShift Container Platform 4.14 see references
Red Hat Red Hat OpenShift Container Platform 4.15 see references
Red Hat Red Hat OpenShift Container Platform 4.16 see references
Red Hat Red Hat OpenShift Container Platform 4.16 see references
Red Hat Red Hat OpenShift Container Platform 4.16 see references
Red Hat Red Hat OpenShift Container Platform 4.17 see references
Red Hat Red Hat OpenShift Container Platform 4.18 see references
Red Hat Red Hat OpenShift Container Platform 4.18 see references
Red Hat Red Hat OpenShift Container Platform 4.18 see references
Red Hat Red Hat OpenShift Container Platform 4.18 see references

Weakness: CWE-908 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References