MessagePack is vulnerable to Denial of Service (DoS)
63
CVE Score
Medium
Denial of Service (DoS)
When LZ4-compressed MessagePack is decompressed, declared uncompressed lengths from the wire are used to allocate output buffers before validating that the compressed data is reasonable. A small payload can claim a very large decompressed size and force large allocations or out-of-memory failures. The fix rejects negative and excessive uncompressed lengths and caps aggregate decompressed size before allocation.
Upgrade the MessagePack library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and use LZ4 compression when deserializing untrusted MessagePack payloads.
0.0.1 - 2.5.300
Fixed in 2.5.3013.0.0 - 3.1.6
Fixed in 3.1.7MessagePack is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 2.5.300 and 3.0.0 - 3.1.6.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.