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.
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.013 (69.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 69th percentile — 69.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.013 · newest: 0.013 · change: +0.000
Affected products
- Vm2 Project
- Vm2 — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- snyk.io/vuln/SNYK-JS-VM2-473188 (Third Party Advisory)
- github.com/patriksimek/vm2/issues/197 (Exploit, Third Party Advisory)
- github.com/patriksimek/vm2/commit/4b22d704e4794af63a5a2d633385fd20948f6f90 (Patch, Third Party Advisory)
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.