vm2 is vulnerable to Remote Code Execution
98
Critical Risk
Promise error plumbing includes aggregate and suppressed error shapes that create structural edges around sanitization. Guest code can route execution primitives through those pathways despite promise hardening elsewhere. The result is a sandbox escape tied to error object structure rather than a single obvious API. Sanitisation is extended so those structural cases cannot pivot to host code.
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