CVE-2024-48924: MessagePack allows untrusted data to lead to DoS attack due to hash collisions and stack overflow
8.7
CVSS Score
4.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.1859%
CWE
Published
10/17/2024
Updated
10/18/2024
KEV Status
No
Technology
C#
Technical Details
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
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
MessagePack | nuget | < 2.5.187 | 2.5.187 |
MessagePack | nuget | >= 2.6.95-alpha, < 3.0.214-rc.1 | 3.0.214-rc.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from insecure hash collision handling during deserialization. The workaround instructions explicitly require overriding GetHashCollisionResistantEqualityComparer<T>
in MessagePackSecurity
, indicating the base implementation is vulnerable. The CWE-328 (Weak Hash) alignment and prior advisory context about hash collision fixes further confirm this is the critical point where collision resistance should be enforced but wasn't adequately implemented.