LiveActive security incident?Get immediate response
CVE Record

CVE-2023-37903: Sandbox Escape in vm2

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.

CriticalCVSS 9.8Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

vm2 is a Node.js sandbox used to run JavaScript with restrictions. This flaw lets code already running inside that sandbox escape and run arbitrary code on the host. The vendor advisory states there are no patches or known workarounds, so continued use of affected vm2 versions carries serious business risk.

Executive priority

Prioritize removal or replacement where vm2 protects customer, tenant, automation, or plugin code execution. Because the advisory names no patch or workaround, accepting continued exposure should require explicit risk ownership.

Technical view

CVE-2023-37903 affects vm2 versions up to and including 3.9.19. A Node.js custom inspect behavior can break sandbox isolation, enabling arbitrary code execution outside vm2 when an attacker can already execute code inside the sandbox context. The listed weakness is CWE-78, with CVSS 9.8 critical severity.

Likely exposure

Highest exposure is in Node.js applications, plugin systems, automation platforms, or SaaS features that use vm2 to evaluate untrusted or tenant-supplied JavaScript. Exposure may also exist through transitive dependencies or vendor products referencing the advisory.

Exploitation context

The source bundle does not show CISA KEV listing or other evidence of active exploitation. The key precondition is attacker-controlled code execution inside a vm2 sandbox. If that exists, the impact can become host-level remote code execution.

Researcher notes

Do not treat this as unauthenticated network RCE unless the application exposes attacker-controlled execution inside vm2. Focus validation on dependency reachability, sandbox entry points, deployed versions, and whether untrusted input can reach those contexts.

Mitigation direction

  • Inventory all direct and transitive vm2 dependencies.
  • Replace vm2 with alternative software, as vendor guidance advises.
  • Remove or disable untrusted JavaScript execution paths where feasible.
  • Check vendor advisories for affected third-party products.
  • Use isolation controls only as temporary risk reduction, not a fix.

Validation and detection

  • Review package manifests, lockfiles, and SBOMs for vm2 <= 3.9.19.
  • Map all features that execute user-supplied code inside vm2.
  • Confirm vm2 removal or replacement in deployed builds.
  • Review NetApp and other vendor advisories for product-specific exposure.
  • Document any remaining sandbox usage and compensating controls.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-78: Command execution behavior lookup

Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
description · low confidence lookup

Privilege behavior lookup

The CVE wording references privilege impact, so privilege escalation and authorization behavior review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2023-37903 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.8 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.8CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H3.95.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

9.8Critical
CVSS 3.1 vector shape for CVE-2023-37903Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
patriksimekvm2<= 3.9.19Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-78 · source CWE mapping

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.