A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly ingest data from on-prem, cloud or hybrid environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Identity Security
    • Singularity Identity
      Identity Threat Detection and Response
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-class Expertise and Threat Intelligence.
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      Digital Forensics, IRR & Breach Readiness
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive solutions for seamless security operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • Partner Locator
      Your go-to source for our top partners in your region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-12085

CVE-2024-12085: Samba Rsync Information Disclosure Flaw

CVE-2024-12085 is an information disclosure vulnerability in Samba Rsync that allows attackers to leak uninitialized stack memory during checksum comparisons. This article covers technical details, affected versions, and mitigations.

Published: January 28, 2026

CVE-2024-12085 Overview

CVE-2024-12085 is an information disclosure vulnerability discovered in rsync, the widely-used file synchronization and transfer utility. The flaw exists in how rsync compares file checksums, where an attacker can manipulate the checksum length parameter (s2length) to force a comparison between a checksum and uninitialized memory. This enables the attacker to leak one byte of uninitialized stack data at a time, potentially exposing sensitive information from the server's memory.

Critical Impact

Remote attackers can exploit this vulnerability over the network without authentication to leak sensitive stack data from rsync servers, potentially exposing credentials, cryptographic keys, or other confidential information stored in memory.

Affected Products

  • Samba rsync (all versions prior to patch)
  • Red Hat Enterprise Linux 6.0, 7.0, 8.0, 9.0 and EUS variants
  • Red Hat OpenShift Container Platform 4.12 through 4.17
  • AlmaLinux 8.0, 9.0, 10.0
  • Arch Linux
  • Gentoo Linux
  • NixOS
  • SUSE Linux
  • Triton DataCenter SmartOS

Discovery Timeline

  • January 14, 2025 - CVE-2024-12085 published to NVD
  • November 20, 2025 - Last updated in NVD database

Technical Details for CVE-2024-12085

Vulnerability Analysis

This vulnerability falls under CWE-908 (Use of Uninitialized Resource), representing a memory information disclosure flaw in rsync's checksum comparison logic. The vulnerability enables remote network-based exploitation without requiring authentication or user interaction. An attacker can leverage this flaw to read confidential data from the target system's stack memory.

The attack exploits improper handling of the s2length parameter during checksum comparison operations. When rsync performs file synchronization, it uses checksums to determine which file blocks have changed. By sending specially crafted requests that manipulate the checksum length value, an attacker can cause rsync to compare a legitimate checksum against uninitialized stack memory rather than the intended data.

Root Cause

The root cause stems from inadequate validation of the checksum length parameter (s2length) before performing memory comparisons. When the rsync daemon processes incoming checksum comparison requests, it fails to properly verify that the specified length corresponds to initialized memory regions. This allows an attacker to specify an s2length value that extends the comparison into uninitialized stack space.

The lack of proper bounds checking on the comparison length enables controlled out-of-bounds reads. Since the comparison operation returns different results depending on whether the memory contents match, an attacker can systematically probe and extract individual bytes of uninitialized stack data through repeated requests with varying parameters.

Attack Vector

The attack can be executed remotely over the network against any exposed rsync daemon or server. The exploitation process involves:

  1. An attacker connects to a target rsync server or daemon listening on its default port (typically 873)
  2. The attacker initiates a file synchronization session and manipulates the checksum comparison parameters
  3. By carefully crafting the s2length value, the attacker forces rsync to compare checksums against uninitialized stack memory
  4. Based on the comparison results, the attacker can determine the value of individual bytes in the uninitialized memory region
  5. Through iterative requests, the attacker can leak multiple bytes of stack data, potentially extracting sensitive information

The vulnerability can be exploited without authentication, making any publicly accessible rsync server a potential target. See the GitHub Security Advisory GHSA-p5pg-x43v-mvqj for additional technical details.

Detection Methods for CVE-2024-12085

Indicators of Compromise

  • Unusual volume of rsync connection attempts from single source IP addresses
  • Repeated file synchronization requests with abnormal or malformed checksum parameters
  • High frequency of short-lived rsync sessions that terminate without completing file transfers
  • Unexpected network traffic patterns on rsync ports (default TCP 873)

Detection Strategies

  • Monitor rsync daemon logs for connection anomalies and incomplete synchronization sessions
  • Implement network-based intrusion detection rules to identify suspicious rsync protocol behavior
  • Deploy endpoint detection to alert on abnormal rsync process memory access patterns
  • Use packet inspection to detect malformed or suspicious checksum length values in rsync traffic

Monitoring Recommendations

  • Enable verbose logging on rsync daemons to capture detailed session information
  • Configure alerts for high-volume connection attempts to rsync services from untrusted networks
  • Implement rate limiting on rsync connections to slow potential exploitation attempts
  • Review rsync access logs regularly for patterns indicative of memory probing attacks

How to Mitigate CVE-2024-12085

Immediate Actions Required

  • Update rsync to the latest patched version available from your distribution
  • Restrict rsync daemon access to trusted networks using firewall rules
  • Disable anonymous rsync access if not required for operations
  • Consider using rsync over SSH instead of running the rsync daemon directly

Patch Information

Multiple vendors have released security patches to address this vulnerability. Red Hat has issued security errata including RHSA-2025:0324 and RHSA-2025:0325 for affected Enterprise Linux versions. Additional errata are available for OpenShift Container Platform and other RHEL variants.

Debian has released patches as documented in the Debian LTS Announcement. NetApp customers should refer to Security Advisory NTAP-20250131-0002. Consult the CERT Vulnerability Report #952657 for comprehensive vendor patch information.

Workarounds

  • Restrict rsync daemon access to localhost or trusted internal networks only using firewall rules
  • Tunnel all rsync traffic through SSH rather than exposing the rsync daemon directly
  • Implement network segmentation to isolate rsync servers from untrusted network zones
  • Disable the rsync daemon service if file synchronization can be achieved through alternative methods
bash
# Restrict rsync daemon to trusted networks using iptables
iptables -A INPUT -p tcp --dport 873 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 873 -j DROP

# Use rsync over SSH instead of daemon mode
rsync -avz -e ssh /source/path user@remote:/destination/path

# Disable rsync daemon service
systemctl stop rsyncd
systemctl disable rsyncd

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechSamba

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability13.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-908
  • Technical References
  • Red Hat Security Errata RHSA-2025:0324

  • Red Hat Security Errata RHSA-2025:0325

  • Red Hat Security Errata RHSA-2025:0637

  • Red Hat Security Errata RHSA-2025:0688

  • Red Hat Security Errata RHSA-2025:0714

  • Red Hat Security Errata RHSA-2025:0774

  • Red Hat Security Errata RHSA-2025:0787

  • Red Hat Security Errata RHSA-2025:0790

  • Red Hat Security Errata RHSA-2025:0849

  • Red Hat Security Errata RHSA-2025:0884

  • Red Hat Security Errata RHSA-2025:0885

  • Red Hat Security Errata RHSA-2025:1120

  • Red Hat Security Errata RHSA-2025:1123

  • Red Hat Security Errata RHSA-2025:1128

  • Red Hat Security Errata RHSA-2025:1225

  • Red Hat Security Errata RHSA-2025:1227

  • Red Hat Security Errata RHSA-2025:1242

  • Red Hat Security Errata RHSA-2025:1451

  • Red Hat Security Errata RHSA-2025:21885

  • Red Hat Security Errata RHSA-2025:2701

  • Red Hat CVE-2024-12085 Advisory

  • Red Hat Bugzilla Report #2330539

  • CERT Vulnerability Report #952657

  • Debian LTS Announcement January 2025

  • NetApp Security Advisory NTAP-20250131-0002

  • CERT Vulnerability Report #952657

  • GitHub Security Advisory GHSA-p5pg-x43v-mvqj
  • Related CVEs
  • CVE-2024-12084

  • CVE-2024-12088

  • CVE-2024-12087

  • CVE-2024-12086
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • English
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use