There exists a vulnerability in source code transformer (exception sanitization logic) of vm2 for versions up to 3.9.15, allowing attackers to bypass handleException() and leak unsanitized host exceptions which can be used to escape the sandbox and run arbitrary code in host cont...
Vendor
vm2 project vulnerabilities
32 published CVES affecting vm2 project, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 32
- Critical
- 24
- High
- 5
- Medium
- 3
- Low
- 0
- Unscored
- 0
- CISA KEV
- 0
Products
Latest vm2 project CVEs
Newest publication first · page 2 of 2
-
CriticalCVSS 10.0 EPSS 3.9%
-
CriticalCVSS 9.8 EPSS 63.2%
vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. Prior to version 3.9.15, vm2 was not properly handling host objects passed to Error.prepareStackTrace in case of unhandled async errors. A threat actor could bypass the sandbox protections to g...
-
CVE-2022-25893 Arbitrary Code Execution
PublishedCriticalCVSS 9.8 EPSS 1.5%The package vm2 before 3.9.10 are vulnerable to Arbitrary Code Execution due to the usage of prototype lookup for the WeakMap.prototype.set method. Exploiting this vulnerability leads to access to a host object and a sandbox compromise.
-
CriticalCVSS 10.0 EPSS 48.4%
vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. In versions prior to version 3.9.11, a threat actor can bypass the sandbox protections to gain remote code execution rights on the host running the sandbox. This vulnerability was patched in th...
-
CVE-2019-10761 Sandbox Bypass
PublishedHighCVSS 8.3 EPSS 1.3%This affects the package vm2 before 3.6.11. It is possible to trigger a RangeError exception from the host rather than the "sandboxed" context by reaching the stack call limit with an infinite recursion. The returned object is then used to reference the mainModule property of the...
-
CVE-2021-23555 Sandbox Bypass
PublishedCriticalCVSS 9.8 EPSS 2.9%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.
-
CVE-2021-23449 Sandbox Bypass
PublishedCriticalCVSS 10.0 EPSS 3.6%This affects the package vm2 before 3.9.4 via a Prototype Pollution attack vector, which can lead to execution of arbitrary code on the host machine.
Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.