Node.js Module vm2 < 3.9.11 Sandbox Breakout

critical Nessus Plugin ID 173678

Synopsis

A module in the Node.js JavaScript run-time environment is affected by a sandbox breakout vulnerability.

Description

The version of the Node.js module vm2 installed on the remote host is prior to 3.9.11. It is, therefore affected by a sandbox breakout vulnerability. Untrusted code can break out of the sandbox created by the affected vm2 module and execute arbitrary code on the host system.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to vm2 version 3.9.11 or later.

See Also

https://github.com/patriksimek/vm2/issues/467

http://www.nessus.org/u?7ce0132b

Plugin Details

Severity: Critical

ID: 173678

File Name: nodejs_module_vm2_3_9_11.nasl

Version: 1.2

Type: local

Agent: windows

Family: Misc.

Published: 3/30/2023

Updated: 4/20/2023

Configuration: Enable thorough checks

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.3

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2022-36067

CVSS v3

Risk Factor: Critical

Base Score: 10

Temporal Score: 9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:vm2_project:vm2

Required KB Items: installed_sw/Node.js

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/28/2022

Vulnerability Publication Date: 8/30/2022

Reference Information

CVE: CVE-2022-36067