msgpack is vulnerable to Integer Overflow or Wraparound
65
Medium Risk
The MessagePack Ruby unpacker reads 32-bit map and container length fields when deserializing binary input. Before the fix, length arithmetic such as count*2 could wrap on large declared sizes, so malformed or truncated payloads were handled incorrectly instead of failing safely. An attacker supplying crafted MessagePack data to MessagePack.unpack or an Unpacker could trigger incorrect parse boundaries. The fix uses size_t for native length math and rejects oversized 32-bit sizes on JRuby so underflow and truncation raise errors.
You are affected if you are using a version that falls within the vulnerable range.
msgpack is vulnerable to Integer Overflow or Wraparound in versions 0.5.0 - 1.8.2.
Upgrade the msgpack 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