CVE-2019-10761
Sandbox Bypass
HIGH 8.3
At a glance
- Source
- NVD
- EPSS
- EPSS 1.33 % · percentile 71 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- snyk
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-674 — Uncontrolled Recursion
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L/E:P/RL:O/RC:C | snyk |
| CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L | NVD · report@snyk.io (Secondary) |
| CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-wf5x-cr3r-xr77 — vm2 before 3.6.11 vulnerable to sandbox escape
European references
- ENISA EUVD · EUVD-2022-6434
- GCVE · GCVE-0-2019-10761
Affected configurations (NVD CPE)
cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:*< 3.6.11
Affected products
| Product | Versions |
|---|---|
| vm2 | affected unspecified < 3.6.11 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |