10

CVE-2023-29199

Exploit

vm2 Sandbox escape vulnerability

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`.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
Vm2 ProjectVm2 SwPlatformnode.js Version < 3.9.16
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 3.85% 0.888
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 10 3.9 6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
security-advisories@github.com 9.8 3.9 5.9
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE-913 Improper Control of Dynamically-Managed Code Resources

The product does not properly restrict reading from or writing to dynamically-managed code resources such as variables, objects, classes, attributes, functions, or executable instructions or statements.

https://gist.github.com/leesh3288/f05730165799bf56d70391f3d9ea187c
Third Party Advisory
Exploit
https://github.com/patriksimek/vm2/commit/24c724daa7c09f003e556d7cd1c7a8381cb985d7
Patch
https://github.com/patriksimek/vm2/issues/516
Patch
Issue Tracking
https://github.com/patriksimek/vm2/releases/tag/3.9.16
Release Notes
https://github.com/patriksimek/vm2/security/advisories/GHSA-xj72-wvfv-8985
Vendor Advisory