Vulnerability in Vm2 Project

CVE-2019-10761

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.

EPSS: 0.012 (65.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2019-10761?
CVE-2019-10761 is a high-severity vulnerability in Vm2 Project, classified under Uncontrolled Recursion. CVSS score: 8.3/10. Published 2022-07-13.
How severe is CVE-2019-10761?
High severity. CVSS v3 base score is 8.3 out of 10.
Is CVE-2019-10761 known to be exploited?
4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.