published 13 Jul 2022 · updated 16 Sep 2024
Sandbox Bypass
8.3HighCVSS 8.3EPSS 1%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.6.11.
This affects the package vm2 before 3.6.11. It is possible to trigger a RangeError exception from the host rather than the "sandboxed" context by reaching the stack call limit with an infinite recursion. The returned object is then used to reference the mainModule property of the host code running the script allowing it to spawn a child_process and execute arbitrary code.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| <3.6.11 | 3.6.11 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket