VDB

CVE-2023-37903

CVE-2023-37903 PUBLISHED CVSS 9.8 CRITICAL

Sandbox Escape in vm2

Reported by github_m · Published July 21, 2023

vm2 is fixed in 3.9.19 (npm)

vm2 is an open source vm/sandbox for Node.js. In vm2 for versions up to and including 3.9.19, Node.js custom inspect function allows attackers to escape the sandbox and run arbitrary code. This may result in Remote Code Execution, assuming the attacker has arbitrary code execution primitive inside the context of vm2 sandbox. There are no patches and no known workarounds. Users are advised to find an alternative software.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
vm2npm3.9.19
vm2vm2_project3.9.19

Risk scores

CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
patriksimekvm2<= 3.9.19
patriksimekvm20
npmvm20

Timeline

  • Jul 13, 2023 CVE Published
  • Jul 22, 2023 EPSS Score (30 in total, the first dated here)
  • Feb 9, 2026 Security Advisory (7 in total, the first dated here)
  • Mar 21, 2026 Distribution Patch (6 in total, the first dated here)
  • Aug 7, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-37903
vulnetix vdb fixes CVE-2023-37903

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-37903/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›