CVE-2023-32314 json
Sandbox Escape
published 2023-05-15 3 y ago modified 2026-09-10 1 mo ago also GHSA-whpj-8f3w-67p5 , EUVD-2023-1640
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 8.1%
- EPSS 8.1% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm vm2 3.9.18
- vm2_project vm2 3.9.18
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-32314 updated cvss 9.8
vm2: Sandbox Escape
-
Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/console-rhel8affected: workaround, no fix available
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 21 mo ago
Exploit prediction
8.13% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- gist.github.com https://gist.github.com/arkark/e9f5cf5782dec8321095be3e52acf5ac referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | vm2 | <3.9.18 |
3.9.18 |
Affected products
- patriksimek vm2
Classification
- Weakness
-
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
References
-
github.com
/patriksimek/vm2/commit/d88105f99752305c5b8a77b63ddee3ec86912daf
web, patch
-
gist.github.com
/arkark/e9f5cf5782dec8321095be3e52acf5ac
web, exploit, third-party-advisory
-
github.com
/patriksimek/vm2/security/advisories/GHSA-whpj-8f3w-67p5
web, vendor-advisory
-
github.com
/patriksimek/vm2/releases/tag/3.9.18
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2023-32314
advisory
-
github.com
/patriksimek/vm2
package
Sources
- CVE List CVE-2023-32314
- GitHub Advisory GHSA-whpj-8f3w-67p5
- NVD CVE-2023-32314
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.