Vulnerability Description
There exists a vulnerability in source code transformer (exception sanitization logic) of vm2 for versions up to 3.9.15, allowing attackers to bypass `handleException()` and leak unsanitized host exceptions which can be used to escape the sandbox and run arbitrary code in host context. A threat actor can 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.16` of `vm2`.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Vm2 Project | Vm2 | < 3.9.16 |
Related Weaknesses (CWE)
References
- https://gist.github.com/leesh3288/f05730165799bf56d70391f3d9ea187cExploitThird Party Advisory
- https://github.com/patriksimek/vm2/commit/24c724daa7c09f003e556d7cd1c7a8381cb985Patch
- https://github.com/patriksimek/vm2/issues/516Issue TrackingPatch
- https://github.com/patriksimek/vm2/releases/tag/3.9.16Release Notes
- https://github.com/patriksimek/vm2/security/advisories/GHSA-xj72-wvfv-8985Vendor Advisory
- https://gist.github.com/leesh3288/f05730165799bf56d70391f3d9ea187cExploitThird Party Advisory
- https://github.com/patriksimek/vm2/commit/24c724daa7c09f003e556d7cd1c7a8381cb985Patch
- https://github.com/patriksimek/vm2/issues/516Issue TrackingPatch
- https://github.com/patriksimek/vm2/releases/tag/3.9.16Release Notes
- https://github.com/patriksimek/vm2/security/advisories/GHSA-xj72-wvfv-8985Vendor Advisory
FAQ
What is CVE-2023-29199?
CVE-2023-29199 is a vulnerability with a CVSS score of 9.8 (CRITICAL). There exists a vulnerability in source code transformer (exception sanitization logic) of vm2 for versions up to 3.9.15, allowing attackers to bypass `handleException()` and leak unsanitized host exce...
How severe is CVE-2023-29199?
CVE-2023-29199 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2023-29199?
Check the references section above for vendor advisories and patch information. Affected products include: Vm2 Project Vm2.