CVE-2023-29017
criticalpriority · attend · 71EPSS 0.632 · 99 %ileexploit · PoCDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (3)
Public proof-of-concept and weaponised exploit code.
affected products (6)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-1004vm2: Mehrere SchwachstellenDeutsch2023-04-18csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in vm2 ausnutzen, um aus der Sandbox auszubrechen und beliebigen Code im Host-Kontext auszuführen.
- GHSA-7jxr-cg7f-gpgvvm2 vulnerable to sandbox escape2023-04-07ghsa · osvUS
vm2 was not properly handling host objects passed to `Error.prepareStackTrace` in case of unhandled async errors. - vm2 version: ~3.9.14 - Node version: 18.15.0, 19.8.1, 17.9.1 ### Impact A threat actor can bypass the sandbox protections to gain remote code execution rights on the host running the sandbox. ### Patches This vulnerability was patched in the release of version `3.9.15` of `vm2`. ### Workarounds None.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (15)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2023-29017/cnnvd
- https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76dcnnvd
- https://github.com/patriksimek/vm2/commit/d534e5785f38307b70d3aac1945260a261a94d50cnnvd
- https://github.com/patriksimek/vm2/issues/515cnnvd
- https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgvcnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.2262cnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.2323cnnvd
- https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76denisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan