CVE-2019-10761

Sandbox Bypass

Published Jul 13, 2022 CVSS 3.1 · 8.3 High EPSS 1.3% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-6434 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.
Github GHSA Github GHSA GHSA-wf5x-cr3r-xr77 vm2 before 3.6.11 vulnerable to sandbox escape
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00833}

epss

{'score': 0.01144}

Type Values Removed Values Added
Metrics epss

{'score': 0.00414}

epss

{'score': 0.00833}

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Sep 16, 2024, 4:28 PM
Reserved
Apr 3, 2019, 12:00 AM
Status
Modified
Published
Jul 13, 2022, 9:15 AM
Modified
Jun 17, 2026, 2:11 AM