Live threats

All CVEs / Vm2 Project

CVE-2023-30547Vm2 Project Vm2

Critical 10.0 No auth neededHigh EPSS

Priority
76
CVSS 3.1
10.0
EPSS
10.0%
probability of exploitation in 30 days · percentile 96
Auth required
No
Published
Apr 17, 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 whitelisted Node's built-in modules. There exists a vulnerability in exception sanitization of vm2 for versions up to 3.9.16, allowing attackers to raise an unsanitized host exception inside `handleException()` which can be used to escape the sandbox and run arbitrary code in host context. This vulnerability was patched in the release of version `3.9.17` of `vm2`. There are no known workarounds for this vulnerability. Users are advised to upgrade.

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.17 3.9.17 npm install vm2@3.9.17

Per OSV / GitHub Advisories (GHSA-ch3r-j5x3-6q2m). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
vm2_projectvm2≤ 3.9.16

Official sources

References

Links published by the sources. Open them with care.