CVE-2024-12085

Rsync: info leak via uninitialized stack contents

7.5 high EPSS 8.64%

Published 14 Jan 2025 Updated 10 Nov 2026 CNA: redhat

Check your servers for CVE-2024-12085

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-12085 affects rsync, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.5 high CVSS 3.1 from redhat (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 8.64%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 95.2% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 27 Feb 2025):

Exploitation
poc: a proof of concept is public
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
partial: limited control or limited data

Weakness

  • CWE-908 Use of Uninitialized Resource

Affected products

As the CNA lists them. The first 100 of 246 entries; all of them are in the record on cve.org.

ProductVersions
rsync
package rsync
affected up to and including 3.3.0
Other versions: unaffected
Red Hat Enterprise Linux 10
package rsync
unaffected 0:3.4.1-2.el10 and later
Other versions: affected
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION
package rsync
unaffected 0:3.0.6-12.el6_10.1 and later
Other versions: affected
Red Hat Enterprise Linux 7 Extended Lifecycle Support
package rsync
unaffected 0:3.1.2-12.el7_9.1 and later
Other versions: affected
Red Hat Enterprise Linux 8
package rsync
unaffected 0:3.1.3-20.el8_10 and later
Other versions: affected
Red Hat Enterprise Linux 8.2 Advanced Update Support
package rsync
unaffected 0:3.1.3-7.el8_2.3 and later
Other versions: affected
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
package rsync
unaffected 0:3.1.3-12.el8_4.3 and later
Other versions: affected
Red Hat Enterprise Linux 8.4 Telecommunications Update Service
package rsync
unaffected 0:3.1.3-12.el8_4.3 and later
Other versions: affected
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
package rsync
unaffected 0:3.1.3-12.el8_4.3 and later
Other versions: affected
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
package rsync
unaffected 0:3.1.3-14.el8_6.6 and later
Other versions: affected
Red Hat Enterprise Linux 8.6 Telecommunications Update Service
package rsync
unaffected 0:3.1.3-14.el8_6.6 and later
Other versions: affected
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
package rsync
unaffected 0:3.1.3-14.el8_6.6 and later
Other versions: affected
Red Hat Enterprise Linux 8.8 Extended Update Support
package rsync
unaffected 0:3.1.3-20.el8_8.1 and later
Other versions: affected
Red Hat Enterprise Linux 9
package rsync
unaffected 0:3.2.3-20.el9_5.1 and later
Other versions: affected
Red Hat Enterprise Linux 9
package rsync
unaffected 0:3.2.3-20.el9_5.1 and later
Other versions: affected
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
package rsync
unaffected 0:3.2.3-9.el9_0.3 and later
Other versions: affected
Red Hat Enterprise Linux 9.2 Extended Update Support
package rsync
unaffected 0:3.2.3-19.el9_2.1 and later
Other versions: affected
Red Hat Enterprise Linux 9.4 Extended Update Support
package rsync
unaffected 0:3.2.3-19.el9_4.1 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.12
package openshift/ose-rhel-coreos-8
unaffected 412.86.202502100314-0 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.13
package openshift/ose-rhel-coreos-9
unaffected 413.92.202503112237-0 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.14
package openshift/ose-rhel-coreos-9
unaffected 414.92.202502111902-0 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.15
package openshift/ose-rhel-coreos-9
unaffected 415.92.202501281917-0 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.16
package openshift4/ose-ansible-rhel9-operator
unaffected v4.16.0-202501311735.p0.g2cb0020.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.16
package openshift4/ose-helm-rhel9-operator
unaffected v4.16.0-202501311933.p0.g4246d04.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.16
package openshift4/ose-operator-sdk-rhel9
unaffected v4.16.0-202501311605.p0.g4246d04.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.17
package openshift/ose-rhel-coreos-9
unaffected 417.94.202502051822-0 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/aws-kms-encryption-provider-rhel9
unaffected v4.18.0-202501230001.p0.g088dcaf.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/azure-kms-encryption-provider-rhel9
unaffected v4.18.0-202501230001.p0.gd4fb1b6.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/azure-service-rhel9-operator
unaffected v4.18.0-202501230001.p0.g11ced00.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/cloud-network-config-controller-rhel9
unaffected v4.18.0-202501230001.p0.gf648c78.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/container-networking-plugins-microshift-rhel9
unaffected v4.18.0-202501230001.p0.g24a6532.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/driver-toolkit-rhel9
unaffected v4.18.0-202502100301.p0.g2e139ed.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/egress-router-cni-rhel9
unaffected v4.18.0-202501230001.p0.g3193a75.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/frr-rhel9
unaffected v4.18.0-202502041302.p0.g1ad8f2e.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/insights-runtime-exporter-rhel9
unaffected v4.18.0-202501230001.p0.g7149f2d.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/insights-runtime-extractor-rhel9
unaffected v4.18.0-202501230001.p0.g7149f2d.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/kube-metrics-server-rhel9
unaffected v4.18.0-202501230001.p0.g962ccca.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/kubevirt-csi-driver-rhel9
unaffected v4.18.0-202501230001.p0.gba2234b.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/network-tools-rhel9
unaffected v4.18.0-202502111035.p0.gf76635f.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/oc-mirror-plugin-rhel9
unaffected v4.18.0-202502100934.p0.gc00c7c9.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/openshift-route-controller-manager-rhel9
unaffected v4.18.0-202501230001.p0.g07daee4.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-agent-installer-api-server-rhel9
unaffected v4.18.0-202502040032.p0.ge5a4005.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-agent-installer-csr-approver-rhel9
unaffected v4.18.0-202502040032.p0.g5348c85.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-agent-installer-node-agent-rhel9
unaffected v4.18.0-202502041302.p0.g51a74ac.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-agent-installer-orchestrator-rhel9
unaffected v4.18.0-202501230001.p0.g5348c85.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-agent-installer-utils-rhel9
unaffected v4.18.0-202501230001.p0.g3f6d1d8.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-apiserver-network-proxy-rhel9
unaffected v4.18.0-202501230001.p0.g0e11616.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-aws-cloud-controller-manager-rhel9
unaffected v4.18.0-202501230001.p0.gc395190.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-aws-cluster-api-controllers-rhel9
unaffected v4.18.0-202501230001.p0.g6bd77fc.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-aws-ebs-csi-driver-rhel9
unaffected v4.18.0-202501230001.p0.gb51cd6b.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-aws-ebs-csi-driver-rhel9-operator
unaffected v4.18.0-202501230001.p0.g9432fd3.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-aws-pod-identity-webhook-rhel9
unaffected v4.18.0-202501230001.p0.g5c43fe8.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-azure-cloud-controller-manager-rhel9
unaffected v4.18.0-202501230001.p0.g9c24d76.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-azure-cloud-node-manager-rhel9
unaffected v4.18.0-202501230001.p0.g9c24d76.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-azure-cluster-api-controllers-rhel9
unaffected v4.18.0-202501230001.p0.g987615c.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-azure-disk-csi-driver-rhel9
unaffected v4.18.0-202501241902.p0.g6cced66.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-azure-disk-csi-driver-rhel9-operator
unaffected v4.18.0-202501230001.p0.g9432fd3.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-azure-file-csi-driver-operator-rhel9
unaffected v4.18.0-202501230001.p0.g9432fd3.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-azure-file-csi-driver-rhel9
unaffected v4.18.0-202501230001.p0.g4b34592.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-azure-workload-identity-webhook-rhel9
unaffected v4.18.0-202501230001.p0.g344c5dc.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-baremetal-cluster-api-controllers-rhel9
unaffected v4.18.0-202501230001.p0.g7ec03e9.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-baremetal-installer-rhel9
unaffected v4.18.0-202502141933.p0.g8cbca44.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-baremetal-machine-controllers-rhel9
unaffected v4.18.0-202501230001.p0.g1ede6c3.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-baremetal-rhel9-operator
unaffected v4.18.0-202502041201.p0.g3d9304e.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-baremetal-runtimecfg-rhel9
unaffected v4.18.0-202501230001.p0.g9e2015c.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cli-artifacts-rhel9
unaffected v4.18.0-202502040032.p0.ga50d4c0.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cli-rhel9
unaffected v4.18.0-202502040032.p0.ga50d4c0.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cloud-credential-rhel9-operator
unaffected v4.18.0-202501230001.p0.g020f8b8.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-api-rhel9
unaffected v4.18.0-202501230001.p0.gd05a6de.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-authentication-rhel9-operator
unaffected v4.18.0-202501230001.p0.ge8c7c47.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-autoscaler-rhel9
unaffected v4.18.0-202501201133.p0.g4674e81.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-autoscaler-rhel9-operator
unaffected v4.18.0-202501230001.p0.g474ad65.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-baremetal-operator-rhel9
unaffected v4.18.0-202501230001.p0.gdfc6c06.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-bootstrap-rhel9
unaffected v4.18.0-202502041632.p0.gd1e0195.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-capi-rhel9-operator
unaffected v4.18.0-202501230001.p0.g4e26a69.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-cloud-controller-manager-rhel9-operator
unaffected v4.18.0-202501230001.p0.g3385690.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-config-api-rhel9
unaffected v4.18.0-202502050001.p0.g3175f30.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-config-rhel9-operator
unaffected v4.18.0-202501230001.p0.g85cb407.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-control-plane-machine-set-rhel9-operator
unaffected v4.18.0-202501230001.p0.gd17bf3a.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-csi-snapshot-controller-rhel9-operator
unaffected v4.18.0-202502051601.p0.g6fe7000.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-dns-rhel9-operator
unaffected v4.18.0-202501230001.p0.g208d50c.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-etcd-rhel9-operator
unaffected v4.18.0-202502042101.p0.g26f6cb2.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-image-registry-rhel9-operator
unaffected v4.18.0-202501230001.p0.g00882ba.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-ingress-rhel9-operator
unaffected v4.18.0-202501230001.p0.g8be1749.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-kube-apiserver-rhel9-operator
unaffected v4.18.0-202502101302.p0.g763313c.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-kube-cluster-api-rhel9-operator
unaffected v4.18.0-202501230001.p0.g33a1141.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-kube-controller-manager-rhel9-operator
unaffected v4.18.0-202502041632.p0.g0fac9aa.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-kube-scheduler-rhel9-operator
unaffected v4.18.0-202502041632.p0.g6182930.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-kube-storage-version-migrator-rhel9-operator
unaffected v4.18.0-202501230001.p0.g59ba356.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-machine-approver-rhel9
unaffected v4.18.0-202501230001.p0.g01d5fbb.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-monitoring-rhel9-operator
unaffected v4.18.0-202501230001.p0.g9852f98.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-network-rhel9-operator
unaffected v4.18.0-202502061801.p0.gb48488a.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-node-tuning-rhel9-operator
unaffected v4.18.0-202502110432.p0.gb707be6.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-olm-rhel9-operator
unaffected v4.18.0-202501230001.p0.g6da706d.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-openshift-apiserver-rhel9-operator
unaffected v4.18.0-202502041302.p0.g0a6f6eb.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-openshift-controller-manager-rhel9-operator
unaffected v4.18.0-202501230001.p0.gf1711cf.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-policy-controller-rhel9
unaffected v4.18.0-202501230001.p0.g5fd8525.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-samples-rhel9-operator
unaffected v4.18.0-202501231202.p0.gde85e47.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-storage-rhel9-operator
unaffected v4.18.0-202502051601.p0.gd5869b2.assembly.stream.el9 and later
Other versions: affected
Red Hat OpenShift Container Platform 4.18
package openshift4/ose-cluster-update-keys-rhel9
unaffected v4.18.0-202501230001.p0.gd44fca5.assembly.stream.el9 and later
Other versions: affected

Is my server affected?

Find the installed version of rsync and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i rsync
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2024-12085 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2024-12085

RHEL, Rocky, Alma, Fedora

rpm -q rsync
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2024-12085

Alpine

apk list --installed | grep -i rsync

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-12085
trivy image --scanners vuln IMAGE | grep CVE-2024-12085

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

12 more

Exploits and proof of concept

Other references

Source: the record CVE-2024-12085 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.