vm2 is vulnerable to Remote Code Execution
98
Critical Risk
vm2 isolates guest JavaScript from the host using proxies and bridging rules. A flaw around property descriptor lookup lets guest code recover host-side capabilities through __lookupGetter__-style paths. That breaks the sandbox boundary and can lead to host code execution. The fix tightens how descriptor lookups are mediated so those pivots no longer work.
You are affected if you are using a version that falls within the vulnerable range.
vm2 is vulnerable to Remote Code Execution in versions 0.0.1 - 3.10.5.
Upgrade the vm2 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