CyberRota Analysis
AI-GeneratedMessagePack for Ruby versions prior to 1.8.2 contain a vulnerability in the Buffer#clear method that can lead to data disclosure or corruption due to stale memory references after buffer operations. This flaw allows for potential cross-buffer data aliasing, which could be exploited by applications using this library. Developers and organizations utilizing MessagePack for Ruby should prioritize upgrading to version 1.8.2 or later to mitigate this risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
MessagePack for Ruby is an implementation of the MessagePack binary serialization format. Prior to 1.8.2, MessagePack::Buffer#clear in ext/msgpack/buffer.c leaves rmem_last, rmem_end, and rmem_owner stale after _msgpack_buffer_shift_chunk returns an rmem page to the shared pool, allowing a subsequent Buffer#write and a second MessagePack::Buffer to alias the page and disclose or corrupt cross-buffer data. This issue is fixed in version 1.8.2.
Related CVEs
Other vulnerabilities affecting the same vendor(s)