vm2 is vulnerable to Remote Code Execution (RCE)
98
Critical Risk
On runtimes with WebAssembly JSPI, a JSPI-backed Promise can reach Promise.prototype.finally() in a way that bypasses vm2 Promise species hardening. Host-originated rejection objects inside attacker species logic expose a host constructor chain to process and child_process. Any service using vm2 as a security boundary on affected Node versions can be fully compromised. The fix blocks the JSPI/.finally() species bypass.
You are affected if you are using a version that falls within the vulnerable range.
vm2 is vulnerable to Remote Code Execution (RCE) in versions 3.0.0 - 3.11.3.
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