Live threats

All CVEs / Vm2 Project

CVE-2023-29017Vm2 Project Vm2

Critical 9.8 No auth needed

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

What happens

vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. Prior to version 3.9.15, vm2 was not properly handling host objects passed to `Error.prepareStackTrace` in case of unhandled async errors. A threat actor could 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.15 of vm2. There are no known workarounds.

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.15 3.9.15 npm install vm2@3.9.15

Per OSV / GitHub Advisories (GHSA-7jxr-cg7f-gpgv). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
vm2_projectvm2< 3.9.15

Official sources

References

Links published by the sources. Open them with care.