MessagePack is vulnerable to Denial of Service (DoS)
63
Medium Risk
Multi-dimensional array formatters read dimension lengths from the payload and allocate T[,], T[,,], or T[,,,] before confirming that the dimension product matches the encoded element count. A small payload can declare huge dimensions with a tiny inner array and force large heap allocations or out-of-memory failures. The fix validates non-negative dimensions and their checked product against the element count before allocation.
You are affected if you are using a version that falls within the vulnerable range and deserialize untrusted payloads into multi-dimensional array types.
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.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant