CVE-2023-29017
Summary
| CVE | CVE-2023-29017 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-04-06 20:15:00 UTC |
| Updated | 2023-04-13 13:20:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|
| Application |
Vm2 Project |
Vm2 |
All |
All |
All |
All |
References
| Reference | Source | Link | Tags |
|---|
| Sandbox Escape · Advisory · patriksimek/vm2 · GitHub |
MISC |
github.com |
|
| Wrap host objects passes through prepareStackTrace · patriksimek/vm2@d534e57 · GitHub |
MISC |
github.com |
|
| [VM2 Sandbox Escape] Vulnerability in [email protected] · Issue #515 · patriksimek/vm2 · GitHub |
MISC |
github.com |
|
| vm2_3.9.14_exploit_1.js · GitHub |
MISC |
gist.github.com |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 378375 vm2 NPM Package Remote Code Execution (RCE) Vulnerability (GHSA-7jxr-cg7f-gpgv)