PT-2022-8075 · Vm2 · Vm2
Xmiliah
·
Published
2022-07-13
·
Updated
2022-07-21
·
CVE-2019-10761
CVSS v3.1
8.3
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L |
Name of the Vulnerable Software and Affected Versions
vm2 versions prior to 3.6.11
Description
The issue allows an attacker 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.
Recommendations
For versions prior to 3.6.11, update to version 3.6.11 or later to resolve the issue. As a temporary workaround, consider restricting the use of infinite recursion in scripts to minimize the risk of exploitation.
Exploit
Fix
Uncontrolled Recursion
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Vm2