CVE-2023-29017Vm2 Project Vm2
Critical 9.8 No auth needed
Follow: this CVE · Vm2 Project · Vm2 Project Vm2 We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.1
- 9.8
- EPSS
- 7.3% probability of exploitation in 30 days · percentile 95
- Auth required
- No
- Published
- Apr 6, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-913
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Vm2.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | vm2 |
< 3.9.15 |
3.9.15 |
npm install vm2@3.9.15 |
Per OSV / GitHub Advisories (GHSA-7jxr-cg7f-gpgv). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| vm2_project | vm2 | < 3.9.15 |
Official sources
References
Links published by the sources. Open them with care.
- gist.github.com Exploit
- github.com Patch
- github.com Exploit Issue Tracking
- github.com Vendor Advisory