Live threats

All CVEs / Vm2 Project

CVE-2023-32314Vm2 Project Vm2

Critical 10.0 No auth needed

Priority
76
CVSS 3.1
10.0
EPSS
7.5%
probability of exploitation in 30 days · percentile 95
Auth required
No
Published
May 15, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-74
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

What happens

vm2 is a sandbox that can run untrusted code with Node's built-in modules. A sandbox escape vulnerability exists in vm2 for versions up to and including 3.9.17. It abuses an unexpected creation of a host object based on the specification of `Proxy`. As a result a threat actor can bypass the sandbox protections to gain remote code execution rights on the host running the sandbox. This vulnerability was patched in the release of version `3.9.18` of `vm2`. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Original NVD text.

What to do

  1. Apply the vendor's security update for Vm2.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm vm2 < 3.9.18 3.9.18 npm install vm2@3.9.18

Per OSV / GitHub Advisories (GHSA-whpj-8f3w-67p5). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
vm2_projectvm2< 3.9.18

Official sources

References

Links published by the sources. Open them with care.