CVE-2019-10761

High

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.

SeverityHigh
CVSS8.3
Exploit probability—
ProductVm2
PublishedJul 13, 2022
First seenJul 13, 2022

How to fix

Update
  • vm2_project vm23.6.11 or later
  • vm23.6.11 or later

Affected products

ProductAffected versionsFixed in
vm2_project vm2v < 3.6.113.6.11
vm2npmv < 3.6.113.6.11

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.