Skip to main content
Public proof of conceptFix available

CVE-2023-29017

A public proof of concept exists; no exploitation attested.

  • Published2023-04-06
  • Fixed in3.9.15
  • WeaknessCWE-913

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2023-04-0620:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-11-04 09:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2023-29017?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2023-29017?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD · OSV
Vm2 project vm2
BranchAffectedFixed in
3.9< 3.9.153.9.15

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • patriksimek vm2
    Affected
    • = < 3.9.15no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2023-04-06

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • @rootio/vm2Root:npmall versions · fixed in 3.9.7-root.io.5
  • @rootio/vm2Root:npmall versions · fixed in 3.9.7-root.io.6
  • vm2Root:npmall versions · fixed in 3.9.7-aikido.5
  • vm2Root:npmall versions · fixed in 3.9.7-aikido.6

Vendor advisories

  • CVE-2023-29017 Red Hat Product Security1 known affected

    vm2: sandbox escape

    rhacm2/console-rhel8 as a component of Red Hat Advanced Cluster Management for Kubernetes 2

  • RHSA-2023:1896 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.5 hotfix security update for console

  • RHSA-2023:1897 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.6 hotfix security update for console

  • RHSA-2023:1894 Red Hat Product Security8 products fixed

    Red Hat Security Advisory: Multicluster Engine for Kubernetes 2.1 hotfix security update for console

  • RHSA-2023:1893 Red Hat Product Security8 products fixed

    Red Hat Security Advisory: Multicluster Engine for Kubernetes 2.0 hotfix security update for console

Full record on NVD

Fix

  1. Update Vm2 project vm2 to 3.9.15
  2. Vendor fix Red Hat Product Security RHSA-2023:1896 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied, and that you are running Red Hat Advanced Cluster Management for Kubernetes version 2.5.7. See https://access.redhat.com/solutions/7007647 for instructions on how to apply this hotfix, …
  3. Vendor fix Red Hat Product Security RHSA-2023:1897 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied, and that you are running Red Hat Advanced Cluster Management for Kubernetes version 2.6.4. See https://access.redhat.com/solutions/7007647 for instructions on how to apply this hotfix, …
  4. Vendor fix Red Hat Product Security RHSA-2023:1894 · 8 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied, and that you are running Multicluster Engine for Kubernetes version 2.1.5. See https://access.redhat.com/solutions/7007647 for instructions on how to apply this hotfix, as well as for i…
  5. Vendor fix Red Hat Product Security RHSA-2023:1893 · 8 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied, and that you are running Multicluster Engine for Kubernetes version 2.0.7. See https://access.redhat.com/solutions/7007647 for instructions on how to apply this hotfix, as well as for i…
  6. Workaround from the vendor Red Hat Product Security RHSA-2023:1896 · 4 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
  7. No fix available, says the vendor Red Hat Product Security CVE-2023-29017 · 1 productAffected

Advisories and patches

Detection

read 2026-11-03 22:42 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2023-04-06
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-7jxr-cg7f-gpgv

Frequently asked questions

What is CVE-2023-29017?

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.

Is CVE-2023-29017 actively exploited?

A proof-of-concept exploit exists for CVE-2023-29017, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2023-29017?

CVE-2023-29017 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running vm2? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record