logo

CVE-2019-10761 vm2

Package

Manager: npm
Name: vm2
Vulnerable Version: >=0 <3.6.11

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L

EPSS: 0.00776 pctl0.7274

Details

vm2 before 3.6.11 vulnerable to sandbox escape 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.

Metadata

Created: 2022-07-14T00:00:23Z
Modified: 2022-07-22T16:32:45Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-wf5x-cr3r-xr77/GHSA-wf5x-cr3r-xr77.json
CWE IDs: ["CWE-674"]
Alternative ID: GHSA-wf5x-cr3r-xr77
Finding: F067
Auto approve: 1