Vulnerability 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Vm2 Project | Vm2 | < 3.9.15 |
Related Weaknesses (CWE)
References
- https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76dExploit
- https://github.com/patriksimek/vm2/commit/d534e5785f38307b70d3aac1945260a261a94dPatch
- https://github.com/patriksimek/vm2/issues/515ExploitIssue Tracking
- https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgvVendor Advisory
- https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76dExploit
- https://github.com/patriksimek/vm2/commit/d534e5785f38307b70d3aac1945260a261a94dPatch
- https://github.com/patriksimek/vm2/issues/515ExploitIssue Tracking
- https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgvVendor Advisory
FAQ
What is CVE-2023-29017?
CVE-2023-29017 is a vulnerability with a CVSS score of 10.0 (CRITICAL). 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 o...
How severe is CVE-2023-29017?
CVE-2023-29017 has been rated CRITICAL with a CVSS base score of 10.0/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2023-29017?
Check the references section above for vendor advisories and patch information. Affected products include: Vm2 Project Vm2.