vm2 is vulnerable to Code Injection
91
Critical Risk
Affected versions of vm2 are vulnerable to a sandbox escape via promise callback sanitization bypass because the library did not correctly sanitize promise then/catch callback arguments, allowing untrusted code inside the sandbox to access host-level constructors (e.g., Function) and potentially escape the sandbox protections. PR #547 sanitizes these promise callback arguments so that values from untrusted code cannot leak host objects into the sandbox context, preventing this escape vector.
You are affected if you are using a version that falls within the vulnerable range.
vm2 is vulnerable to Code Injection in versions 3.10.0 - 3.10.0.
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