MessagePack for Ruby is an implementation of the MessagePack binary serialization format. Prior to 1.8.7, the Java-platform msgpack gem for JRuby allo...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:16.04:LTSruby-msgpack |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSruby-msgpack |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSruby-msgpack |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSruby-msgpack |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSruby-msgpack |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10ruby-msgpack |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSruby-msgpack |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
MessagePack for Ruby is an implementation of the MessagePack binary serialization format. Prior to 1.8.7, the Java-platform msgpack gem for JRuby allocated arrays and byte buffers directly from attacker-controlled array32, str32, and bin32 declared sizes before confirming that corresponding elements or bytes were available. A short MessagePack header could therefore trigger a very large allocation or sustained heap growth when an application decoded untrusted input through MessagePack.unpack or MessagePack::Unpacker, potentially exhausting the shared JVM heap. map32 and declared counts at or above 2^31 did not use the affected allocation behavior. This issue is fixed in version 1.8.7.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report github.com
- report github.com
- report github.com
- report github.com