CVE-2023-29017: vm2 - Remote Code Execution
- Cve: CVE-2023-29017
- Name: vm2 - Remote Code Execution
- 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.
- Impact: Threat actors can bypass sandbox protections to execute arbitrary code on the host system remotely.
- Remediation: Update to version 3.9.15 or later.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.63186
- Epss percentile: 0.99223
- Assignee: [email protected]
- Published at: 2023-04-06T20:15:08Z
- Age in days: 1328
- Modified at: 2026-06-17T05:49:11Z
- Patch available: yes
- Public exploits total: 5
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-29017
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-913 | Improper Control of Dynamically-Managed Code Resources |
Hackerone
- Reports: 2
- Rank: 1901
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76d | nvd | 2023-04-06 |
| https://github.com/patriksimek/vm2/issues/515 | nvd | 2023-04-06 |
| https://github.com/wooung105/Node_CVE-2023-29017 | poc-in-github | 2026-07-12 |
| https://github.com/passwa11/CVE-2023-29017-reverse-shell | poc-in-github | 2023-07-20 |
| https://github.com/timb-machine-mirrors/seongil-wi-CVE-2023-29017 | poc-in-github | 2023-04-07 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| vm2_project:vm2 | < 3.9.15 | no | nvd | /v1/products/vm2_project/vm2 |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| patriksimek/vm2 | commit, fix, issues, package, security_advisory | yes | /v1/repositories/patriksimek/vm2 |
Index
- Repositories: 17
- Repositories high signal: 5
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 5
- Public exploit first date: 2023-04-06
- Remote: yes
- Hackerone reports: 2
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, exposed hosts