The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • 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
    • Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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
    • Singularity Identity
      Identity Threat Detection and Response
    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
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • 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
      DFIR, Breach Readiness, & Compromise Assessments
    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
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • 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-48924

CVE-2024-48924: MessagePack-CSharp DoS Vulnerability

CVE-2024-48924 is a denial of service flaw in MessagePack-CSharp caused by hash collision attacks during deserialization of untrusted data. This article covers the technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2024-48924 Overview

CVE-2024-48924 is a Denial of Service vulnerability in the MessagePack-CSharp library that affects applications deserializing messagepack data from untrusted sources. An attacker can send specially crafted data designed to produce hash collisions, leading to disproportionately large CPU consumption relative to the size of the data being processed. This vulnerability represents an inadequate fix for a prior security advisory (GHSA-7q36-4xx7-xcxf) that addressed the hash collision component of the vulnerability.

Critical Impact

Applications using MessagePack-CSharp to deserialize untrusted data are vulnerable to resource exhaustion attacks that can render services unavailable through algorithmic complexity exploitation.

Affected Products

  • MessagePack-CSharp library (versions prior to security patch)
  • MessagePack.UnityClient implementations
  • Applications deserializing MessagePack data from untrusted sources

Discovery Timeline

  • October 17, 2024 - CVE-2024-48924 published to NVD
  • October 18, 2024 - Last updated in NVD database

Technical Details for CVE-2024-48924

Vulnerability Analysis

This vulnerability falls under CWE-328 (Reversible One-Way Hash) and represents an Algorithmic Complexity Attack targeting the deserialization process. The root issue lies in the hash collision resistance mechanism used when processing MessagePack data structures. When the library encounters dictionary or hash-based data structures during deserialization, it relies on hash functions to organize and access data efficiently. An attacker can craft input data with keys specifically designed to produce hash collisions, forcing the hash table into worst-case O(n) performance instead of the expected O(1) average case.

The attack is network-accessible without requiring authentication or user interaction, making it particularly dangerous for internet-facing services that accept MessagePack-formatted data. The vulnerability specifically affects the GetHashCollisionResistantEqualityComparer<T> method in the MessagePackSecurity class, where the previous fix proved inadequate in providing sufficient collision resistance.

Root Cause

The vulnerability stems from the use of a weak or predictable hash algorithm in the equality comparer implementation. The prior advisory attempted to address this by implementing collision-resistant equality comparers, but the fix was incomplete. The HashCode struct used in .NET has known limitations regarding hash collision resistance when facing adversarial inputs, as documented in the .NET team's threat model discussion. The security patches introduce SipHash, a cryptographically stronger hash function designed to resist hash-flooding attacks.

Attack Vector

The attack requires an attacker to send MessagePack-formatted data to an application that deserializes this data using the vulnerable library. The attacker crafts the data with dictionary keys that produce hash collisions when processed by the weak hash function. This causes hash table operations to degrade from constant time to linear time, resulting in exponential CPU consumption. The attack can be executed remotely over the network without authentication, targeting any endpoint that accepts and deserializes MessagePack data.

text
// Security patch introducing SipHash - Source: GitHub Commit
    <Compile Include="..\..\src\MessagePack\SafeBitConverter.cs">
      <Link>Code\SafeBitConverter.cs</Link>
    </Compile>
+    <Compile Include="..\..\src\MessagePack\SipHash.cs">
+      <Link>Code\SipHash.cs</Link>
+    </Compile>
    <Compile Include="..\..\src\MessagePack\MessagePackCode.cs">
      <Link>Code\MessagePackCode.cs</Link>
    </Compile>

Source: GitHub Commit 8e599af

Detection Methods for CVE-2024-48924

Indicators of Compromise

  • Abnormally high CPU utilization during MessagePack deserialization operations
  • Increased request processing times for endpoints accepting MessagePack data
  • Memory consumption spikes correlated with incoming MessagePack requests
  • Application timeouts or unresponsiveness when processing specific payloads

Detection Strategies

  • Monitor CPU utilization patterns on services processing MessagePack data, looking for sustained spikes
  • Implement request timeout monitoring to detect slow deserialization operations
  • Review application dependencies to identify vulnerable MessagePack-CSharp versions
  • Analyze incoming MessagePack payloads for unusually high numbers of dictionary keys

Monitoring Recommendations

  • Set up alerts for CPU usage exceeding baseline thresholds on MessagePack-processing services
  • Monitor request latency metrics for deserialization endpoints
  • Implement rate limiting on endpoints that accept MessagePack data from untrusted sources
  • Configure application performance monitoring to track deserialization operation durations

How to Mitigate CVE-2024-48924

Immediate Actions Required

  • Upgrade MessagePack-CSharp to the latest patched version immediately
  • Review and implement security configurations for untrusted data as outlined in the prior security advisory
  • Audit all application endpoints that accept MessagePack-formatted data from untrusted sources
  • Implement input size limits and request rate limiting as defense-in-depth measures

Patch Information

The vulnerability has been addressed through the introduction of SipHash, a collision-resistant hash function. The patches are available in commits 8e599af0798b45008f8b293a7f233e4878f11ed5 and f8d40b3ad0be01c6e56cb51ecea81f59d98c192d. Organizations should update to the latest version of MessagePack-CSharp that includes these fixes. For detailed security guidance, refer to the official documentation for MessagePack 1.x or MessagePack 2.x.

Workarounds

  • Create a custom class deriving from MessagePackSecurity and override GetHashCollisionResistantEqualityComparer<T> to provide a collision-resistant hash function
  • Configure MessagePackSerializerOptions with an instance of the custom security class using WithSecurity
  • Apply the custom options object to all deserialization operations via MessagePackSerializer.DefaultOptions or explicit parameter passing
  • Avoid calling base.GetHashCollisionResistantEqualityComparer<T>() in the custom implementation
csharp
# Custom MessagePackSecurity implementation workaround
public class CustomMessagePackSecurity : MessagePackSecurity
{
    protected override IEqualityComparer<T> GetHashCollisionResistantEqualityComparer<T>()
    {
        // Implement your own collision-resistant hash function
        // Do NOT call base.GetHashCollisionResistantEqualityComparer<T>()
        return new CustomCollisionResistantComparer<T>();
    }
}

// Configure options with custom security
var options = MessagePackSerializerOptions.Standard
    .WithSecurity(new CustomMessagePackSecurity());
MessagePackSerializer.DefaultOptions = options;

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechMessagepack

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-328
  • Technical References
  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-21452: MessagePack Java DoS Vulnerability
Default Legacy - Prefooter | 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
  • 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

English