Skip to main content
Public proof of conceptFix available

CVE-2023-30547

A public proof of concept exists; no exploitation attested.

  • Published2023-04-17
  • Fixed in3.9.17
  • WeaknessCWE-74

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. 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.

Timeline

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

Observed activity

isMalicious corpus · updated 2026-11-03 15: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-30547?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2023-30547?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

OSV · NVD
vm2
BranchAffectedFixed in
3.9< 3.9.173.9.17
Vm2 project vm2
BranchAffectedFixed in
3.9≤ 3.9.16no fix published

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.17no fix stated

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

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.17-root.io.10
  • @rootio/vm2Root:npmall versions · fixed in 3.9.17-root.io.11
  • @rootio/vm2Root:npmall versions · fixed in 3.9.17-root.io.12
  • @rootio/vm2Root:npmall versions · fixed in 3.9.17-root.io.13
  • @rootio/vm2Root:npmall versions · fixed in 3.9.17-root.io.1
  • @rootio/vm2Root:npmall versions · fixed in 3.9.17-root.io.2
  • @rootio/vm2Root:npmall versions · fixed in 3.9.17-root.io.3

19 more package ranges on OSV.dev

Vendor advisories

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

    vm2: Sandbox Escape when exception sanitization

    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 to 3.9.17
  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. No fix available, says the vendor Red Hat Product Security CVE-2023-30547 · 1 productAffected

Advisories and patches

Detection

read 2026-11-02 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:C/C:H/I:H/A:H
Published
2023-04-17
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-ch3r-j5x3-6q2m

Frequently asked questions

What is CVE-2023-30547?

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.

Is CVE-2023-30547 actively exploited?

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

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

CVE-2023-30547 has a CVSS v3 base score of 10 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/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