vm2 is vulnerable to Sandbox Escape
100
Critical Risk
Sandboxed code obtains a raw host __proto__ reader and walks the prototype chain of the console output streams to reach the host process object through the EventEmitter prototype. With a reference to a host being intrinsic, sandboxed code invokes host functionality and executes arbitrary commands on the host. This is a full sandbox escape from a NodeVM instance to the host process. The fix denies host prototype readers and diverts callable writes away from host prototypes so these references can no longer be obtained.
You are affected if you are using a version that falls within the vulnerable range and you execute untrusted JavaScript in a NodeVM sandbox.
vm2 is vulnerable to Sandbox Escape in versions 0.0.1 - 3.11.7.
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.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.