published 6 Apr 2023 · updated 10 Feb 2025
vm2 Sandbox Escape vulnerability
10.0CriticalCVSS 10.0EPSS 63%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 63%. No fixed version is recorded.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| patriksimek | <3.9.15 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket