Back
CVE-2023-29017
vm2 Sandbox Escape vulnerability
Critical10.0EPSS 63.2%
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
Description
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 gain remote code execution rights on the host running the sandbox. This vulnerability was patched in the release of version 3.9.15 of vm2. There are no known workarounds.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Critical10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 63.2% · top 0.8% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: total
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 10.0.
Weakness
Affected products
- affected < 3.9.15
Affected packages
From reviewed advisories of the GitHub Advisory Database.
References (4)
- https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgv (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/patriksimek/vm2/issues/515 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/patriksimek/vm2/commit/d534e5785f38307b70d3aac1945260a261a94d50 (opens in a new tab)x_refsource_MISCx_transferred
- https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76d (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-7jxr-cg7f-gpgv (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-29017)Record last updated .