What’s Vulnerable › Vulnerabilities
CVE-2021-23555: Sandbox Bypass
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-02-11 · updated 2026-06-17
Description
The package vm2 before 3.9.6 are vulnerable to Sandbox Bypass via direct access to host error objects generated by node internals during generation of a stacktraces, which can lead to execution of arbitrary code on the host machine.
Affected products
- patriksimek vm2: before 3.9.6 — fixed in 3.9.6
How to fix
Upgrade to a fixed version: patriksimek vm2 3.9.6. Check the vendor advisory for mitigations.
References
- https://github.com/patriksimek/vm2/commit/532120d5cdec7da8225fc6242e154ebabc63fe4d
- https://snyk.io/vuln/SNYK-JS-VM2-2309905
- https://github.com/patriksimek/vm2/commit/532120d5cdec7da8225fc6242e154ebabc63fe4d
- https://snyk.io/vuln/SNYK-JS-VM2-2309905
Get alerted when CVE-2021-23555 or the next vulnerability affects your stack