Skip to main content
Public proof of conceptFix available

CVE-2023-32314

A public proof of concept exists; no exploitation attested.

  • Published2023-05-15
  • Fixed in3.9.18
  • 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 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.

Timeline

dates in UTC
  1. 2023-05-1520:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-11-03 21: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-32314?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2023-32314?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.183.9.18

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

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

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

19 more package ranges on OSV.dev

Vendor advisories

  • CVE-2023-32314 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:3356 Red Hat Product Security203 products fixed

    Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.5.9 security fixes and container updates

  • RHSA-2023:3353 Red Hat Product Security144 products fixed

    Red Hat Security Advisory: Multicluster Engine for Kubernetes 2.0.9 security fixes and container updates

  • RHSA-2023:3326 Red Hat Product Security191 products fixed

    Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.6.6 security fixes and container updates

  • RHSA-2023:3325 Red Hat Product Security152 products fixed

    Red Hat Security Advisory: Multicluster Engine for Kubernetes 2.1.7 security fixes and container updates

Full record on NVD

Fix

  1. Update Vm2 project vm2 to 3.9.18
  2. Vendor fix Red Hat Product Security RHSA-2023:3356 · 203 productsFor Red Hat Advanced Cluster Management for Kubernetes, see the following documentation, which will be updated shortly for this release, for important instructions about installing this release: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.5/ht…
  3. Vendor fix Red Hat Product Security RHSA-2023:3353 · 144 productsFor multicluster engine for Kubernetes, see the following documentation for details on how to install the images: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.5/html-single/multicluster_engine_operator/index#installing-while-connected-online
  4. Vendor fix Red Hat Product Security RHSA-2023:3326 · 191 productsFor Red Hat Advanced Cluster Management for Kubernetes, see the following documentation for details on how to install the images: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.6/html/install/installing#installing-while-connected-online
  5. Vendor fix Red Hat Product Security RHSA-2023:3325 · 152 productsFor multicluster engine for Kubernetes, see the following documentation for details on how to install the images: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.6/html-single/multicluster_engine_operator/index#installing-while-connected-online
  6. Workaround from the vendor Red Hat Product Security RHSA-2023:3356 · 203 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-32314 · 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
Proof-of-concept repositories
1 repository, unverifiedAdarkSt/Honeypot_Smart_Infrastructure
PoC-in-GitHub
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-05-15
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-whpj-8f3w-67p5

Frequently asked questions

What is CVE-2023-32314?

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.

Is CVE-2023-32314 actively exploited?

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

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

CVE-2023-32314 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