CVE-2019-10761 HIGH

CVE-2019-10761: Sandbox Bypass

Vendor N/A
Product vm2
Published July 13, 2022
Last update September 16, 2024

CVSS base score

8.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

July 13, 2022 CVE published
September 16, 2024 Record updated