CyberRota Analysis
AI-GeneratedVersions of vm2 prior to 3.11.8 are vulnerable due to inadequate protection of host TypedArray and ArrayBuffer prototypes, allowing attackers to manipulate these prototypes through prototype-walking techniques. This can lead to unauthorized access and modification of host-created typed arrays, potentially exposing sensitive data or enabling further exploitation. Organizations utilizing vm2 for sandboxing JavaScript code should prioritize upgrading to the latest version to mitigate this critical vulnerability.
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 versions from 3.11.0 before 3.11.8 fail to protect host TypedArray and ArrayBuffer prototypes from sandbox mutation. Attackers can use prototype-walking primitives to reach and modify host Uint8Array.prototype, %TypedArray%.prototype, and ArrayBuffer.prototype, causing host-created typed arrays to observe attacker-controlled properties after VM.run() returns.