CVE-2019-10761
Summary
| CVE | CVE-2019-10761 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-07-13 09:15:00 UTC |
| Updated | 2022-07-21 10:38:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-674
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Vm2 Project | Vm2 | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Breakout in v3.6.10 via Maximum call stack size exceeded RangeError · Issue #197 · patriksimek/vm2 · GitHub | MISC | github.com | |
| Sandbox Bypass in vm2 | CVE-2019-10761 | Snyk | MISC | snyk.io | |
| Fixes sandbox escape (#197) · patriksimek/vm2@4b22d70 · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: XmiliaH
There are currently no legacy QID mappings associated with this CVE.