CVE-2019-10761
Description
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.
How to fix
- vm2_project vm23.6.11 or later
- vm23.6.11 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vm2_project vm2 | v < 3.6.11 | 3.6.11 |
| vm2npm | v < 3.6.11 | 3.6.11 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.