Skip to content
OpenAdvisories
High · 7.5 Public exploit CVE-2024-12085 EUVD-2024-50581GHSA-xh5q-pch5-g3xq

Rsync: info leak via uninitialized stack contents

Published Jan 14, 2025 · Updated Nov 10, 2026 · Assigned by redhat

Vendor: Red Hat Product: Red Hat Enterprise Linux 10 Product: Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION Product: Red Hat Enterprise Linux 7 Extended Lifecycle Support Product: Red Hat Enterprise Linux 8 Product: Red Hat Enterprise Linux 8.2 Advanced Update Support Product: Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support Product: Red Hat Enterprise Linux 8.4 Telecommunications Update Service Product: Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions Product: Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support Product: Red Hat Enterprise Linux 8.6 Telecommunications Update Service Product: Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions Product: Red Hat Enterprise Linux 8.8 Extended Update Support Product: Red Hat Enterprise Linux 9 Product: Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions Product: Red Hat Enterprise Linux 9.2 Extended Update Support Product: Red Hat Enterprise Linux 9.4 Extended Update Support Product: Red Hat OpenShift Container Platform 4.12 Product: Red Hat OpenShift Container Platform 4.13 Product: Red Hat OpenShift Container Platform 4.14 Product: Red Hat OpenShift Container Platform 4.15 Product: Red Hat OpenShift Container Platform 4.16 Product: Red Hat OpenShift Container Platform 4.17 Product: Red Hat OpenShift Container Platform 4.18 Package: rsync Package: rsync Package: rsync Package: rsync Platform: Linux Ecosystem: Alpine Ecosystem: Azure Linux Ecosystem: Debian Ecosystem: Ubuntu

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 products

VendorProductAffectedFixed
— rsync ≤ 3.3.0 —
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION — —
Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support — —
Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support — —
Red Hat Red Hat Enterprise Linux 8.4 Telecommunications Update Service — —
Red Hat Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support — —
Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service — —
Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support — —
Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support — —
Red Hat Red Hat OpenShift Container Platform 4.12 — —
Red Hat Red Hat OpenShift Container Platform 4.13 — —
Red Hat Red Hat OpenShift Container Platform 4.14 — —
Red Hat Red Hat OpenShift Container Platform 4.15 — —
Red Hat Red Hat OpenShift Container Platform 4.16 — —
Red Hat Red Hat OpenShift Container Platform 4.17 — —
Red Hat Red Hat OpenShift Container Platform 4.18 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rsync 3.3.0+ds1-3 —
Debian 13 rsync 3.3.0+ds1-3 —
Debian 12 rsync 3.2.7-1+deb12u1 DSA-5843-1
Debian 11 rsync 3.2.3-4+deb11u2 DLA-4015-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS rsync 3.2.7-1ubuntu1.1 USN-7206-1
Ubuntu 22.04 LTS rsync 3.2.7-0ubuntu0.22.04.3 USN-7206-1
Ubuntu 20.04 LTS rsync 3.1.3-8ubuntu0.8 USN-7206-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS rsync 3.1.2-2.1ubuntu1.6+esm1 USN-7206-1
Ubuntu Pro 16.04 LTS rsync 3.1.1-3ubuntu1.3+esm3 USN-7206-1
Ubuntu Pro 14.04 LTS rsync 3.1.0-2ubuntu0.4+esm1 USN-7206-1
ReleasePackageFixed inAdvisory
RHEL 10 rsync +2 3.4.1-2.el10 RHBA-2025:6470
RHEL 9 rsync +1 3.2.3-20.el9_5.1 RHSA-2025:0324
RHEL 8 rsync +1 3.1.3-20.el8_10 RHSA-2025:0325
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.4 EUS rsync +1 3.2.3-19.el9_4.1 RHSA-2025:0637
RHEL 9.2 EUS rsync +1 3.2.3-19.el9_2.1 RHSA-2025:0774
RHEL 9.0 E4S rsync +1 3.2.3-9.el9_0.3 RHSA-2025:0688
RHEL 8.8 EUS rsync +1 3.1.3-20.el8_8.1 RHSA-2025:0787
RHEL 8.6 TUS rsync +1 3.1.3-14.el8_6.6 RHSA-2025:0790
RHEL 8.6 E4S rsync +1 3.1.3-14.el8_6.6 RHSA-2025:0790
RHEL 8.6 AUS rsync +1 3.1.3-14.el8_6.6 RHSA-2025:0790
RHEL 8.4 TUS rsync +1 3.1.3-12.el8_4.3 RHSA-2025:0885
RHEL 8.4 E4S rsync +1 3.1.3-12.el8_4.3 RHSA-2025:0885
RHEL 8.4 AUS rsync +1 3.1.3-12.el8_4.3 RHSA-2025:0885
RHEL 8.2 AUS rsync +1 3.1.3-7.el8_2.3 RHSA-2025:0884
RHEL 7 ELS rsync 3.1.2-12.el7_9.1 RHSA-2025:0714
RHEL 6 ELS rsync 3.0.6-12.el6_10.1 RHSA-2025:0849

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 rsync +1 3.2.3-20.el9_5.1 ALSA-2025:0324
AlmaLinux 8 rsync +1 3.1.3-20.el8_10 ALSA-2025:0325

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 rsync 3.2.3-20.el9_5.1 RLSA-2025:0324
Rocky Linux 8 rsync 3.1.3-20.el8_10 RLSA-2025:0325
ReleasePackageFixed inAdvisory
SLES 15 SP6 rsync 3.2.7-150600.3.8.1 SUSE-SU-2025:0156-1
SLES 15 SP5 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLES 15 SP4 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLES 15 SP3 rsync 3.2.3-150000.4.33.1 SUSE-SU-2025:0157-1
SLES 12 SP5 rsync 3.1.3-3.22.1 SUSE-SU-2025:0166-1
Show 16 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP5 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLES for SAP 15 SP4 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLES for SAP 15 SP3 rsync 3.2.3-150000.4.33.1 SUSE-SU-2025:0157-1
SLE Micro 6.1 rsync 3.3.0-slfo.1.1_3.1 SUSE-SU-2025:20223-1
SLE Micro 6.0 rsync 3.2.7-4.1 SUSE-SU-2025:20122-1
SLE Micro 5.5 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLE Micro 5.4 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLE Micro 5.3 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLE Micro 5.2 rsync 3.2.3-150000.4.33.1 SUSE-SU-2025:0157-1
SLE Micro 5.1 rsync 3.2.3-150000.4.33.1 SUSE-SU-2025:0157-1
SLE HPC 15 SP5 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLE HPC 15 SP4 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SLE HPC 15 SP3 rsync 3.2.3-150000.4.33.1 SUSE-SU-2025:0157-1
SUSE Manager Server 4.3 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SUSE Manager Proxy 4.3 rsync 3.2.3-150400.3.17.1 SUSE-SU-2025:0165-1
SUSE Enterprise Storage 7.1 rsync 3.2.3-150000.4.33.1 SUSE-SU-2025:0157-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed rsync 3.4.1-1.1 openSUSE-SU-2025:14665-1
openSUSE Leap 15.6 rsync 3.2.7-150600.3.8.1 SUSE-SU-2025:0156-1
ReleasePackageFixed inAdvisory
Alpine v3.24 rsync 3.4.0-r0 —
Alpine v3.23 rsync 3.4.0-r0 —
Alpine v3.22 rsync 3.4.0-r0 —
Alpine v3.21 rsync 3.4.0-r0 —
Alpine v3.20 rsync 3.4.0-r0 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 rsync 3.4.0-r0 —
Alpine v3.18 rsync 3.4.0-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 rsync +1 3.4.0-1.amzn2023.0.2 ALAS2023-2025-801
Amazon Linux 2 rsync 3.1.2-11.amzn2.0.5 ALAS2-2025-2731

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 rsync 3.4.1-1 —
Azure Linux 2 (CBL-Mariner) rsync 3.4.1-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 rsync +1 3.2.3-20.el9_5.1 ELSA-2025-0324
Oracle Linux 8 rsync +1 3.1.3-20.el8_10 ELSA-2025-0325
Oracle Linux 7 rsync 3.1.2-12.0.1.el7_9 ELSA-2025-0714

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 35

References