Security mailing lists by PureSourceCode

CVE-2023-32313

MEDIUM 5.3CVSS 3.1

vm2 vulnerable to Inspect Manipulation

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.

Published
15 May 2023
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-74
Also known as
GHSA-p5gc-c584-jj6v
Sources
NVDJSONOSV GHSA-p5gc-c584-jj6vJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD vm2_project vm2
cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:*
< 3.9.18 3.9.18
OSV npm vm2 < 3.9.18 3.9.18

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 15 May 2023)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 May 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.