PT-2023-23723 · Vm2 · Vm2

Arkark

+1

·

Published

2023-05-15

·

Updated

2026-06-04

·

CVE-2023-32313

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions vm2 versions 3.9.17 and lower
Description The issue allows a threat actor to get a read-write reference to the node inspect method and edit options for console.log, resulting in the ability to edit options for the console.log command. This was possible due to a flaw in vm2, a sandbox that can run untrusted code with Node's built-in modules.
Recommendations For versions 3.9.17 and lower, upgrade to version 3.9.18 or higher. As a temporary workaround for users unable to upgrade, make the inspect method readonly with vm.readonly(inspect) after creating a vm.

Exploit

Fix

Special Elements Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2023-32313
GHSA-P5GC-C584-JJ6V

Affected Products

Vm2