MessagePack is vulnerable to Denial of Service (DoS)
63
Medium Risk
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.
You are affected if you are using a version that falls within the vulnerable range and use LZ4 compression when deserializing untrusted MessagePack payloads.
MessagePack is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 2.5.300 and 3.0.0 - 3.1.6.
Upgrade the MessagePack library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant