SCA: security update for vm2 (GHSA-p5gc-c584-jj6v)

medium Tenable Cloud Security Plugin ID 417307

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- vm2 is a sandbox that can run untrusted code with Node's built-in modules. In versions 3.9.17 and lower of
vm2 it was possible to get a read-write reference to the node `inspect` method and edit options for
`console.log`. As a result a threat actor can edit options for the `console.log` command. This
vulnerability was patched in the release of version `3.9.18` of `vm2`. Users are advised to upgrade. Users
unable to upgrade may make the `inspect` method readonly with `vm.readonly(inspect)` after creating a vm.
(CVE-2023-32313)

See Also

https://github.com/advisories/GHSA-p5gc-c584-jj6v

Plugin Details

Severity: Medium

ID: 417307

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2023-32313

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/17/2023

Vulnerability Publication Date: 5/15/2023

Reference Information

CVE: CVE-2023-32313

cwe: CWE-74