CyberRota Analysis
AI-GeneratedThe vulnerability affects the vm2 sandbox for Node.js, specifically versions prior to 3.11.6, where inadequate enforcement of buffer allocation limits allows malicious code to perform large memory allocations, potentially exhausting the host process. This can lead to denial-of-service conditions, making it critical for developers using vm2 in their applications to upgrade to version 3.11.6 or later. Organizations relying on this library for secure code execution should prioritize remediation to mitigate the risk of exploitation.
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
vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.6, the bufferAllocLimit enforcement in lib/setup-sandbox.js does not cover Buffer.concat(list, totalLength) or Buffer.from(arrayLike) with an attacker-controlled length, allowing sandbox code to perform large synchronous host external-memory allocations that bypass the configured cap and can exhaust the host process. This issue is fixed in version 3.11.6.