Sandbox Escape in vm2
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| patriksimek | vm2 | before 3.9.17 | 3.9.17 | Patch available | CNA |
| — | vm2 (npm) | before 3.9.17 | 3.9.17 | Patch available | GHSA-ch3r-j5x3-6q2m |
- vm2 Vendorpatriksimek Affected before 3.9.17 Fixed in 3.9.17 Patch available CNA
- vm2 (npm) Vendor— Affected before 3.9.17 Fixed in 3.9.17 Patch available GHSA-ch3r-j5x3-6q2m
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:* | up to 3.9.16 | Vulnerable | patriksimek |
- cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:* Versions up to 3.9.16 Vulnerable ·patriksimek
Remediation
- Fix · CNA vm2 (patriksimek) Fixed in 3.9.17
- Fix · GHSA-ch3r-j5x3-6q2m vm2 (npm) Fixed in 3.9.17 Advisory →
Red Hat 4 advisories
- RHSA-2023:1896 Released 2023-04-20 · Red Hat rating CriticalRed Hat Advanced Cluster Management 2.5 hotfix security update for console
- Red Hat Advanced Cluster Management for Kubernetes 2.5 for RHEL 8 rhacm2/console-rhel8
- RHSA-2023:1897 Released 2023-04-20 · Red Hat rating CriticalRed Hat Advanced Cluster Management 2.6 hotfix security update for console
- Red Hat Advanced Cluster Management for Kubernetes 2.6 for RHEL 8 rhacm2/console-rhel8
- RHSA-2023:1894 Released 2023-04-20 · Red Hat rating CriticalMulticluster Engine for Kubernetes 2.1 hotfix security update for console
- multicluster engine for Kubernetes 2.1 for RHEL 8 multicluster-engine/console-mce-rhel8, multicluster-engine/multicluster-engine-console-mce-rhel8
Show 1 more Red Hat advisories
- RHSA-2023:1893 Released 2023-04-20 · Red Hat rating CriticalMulticluster Engine for Kubernetes 2.0 hotfix security update for console
- multicluster engine for Kubernetes 2.0 for RHEL 8 multicluster-engine/console-mce-rhel8, multicluster-engine/multicluster-engine-console-mce-rhel8
Vendor assessments
Red Hat
Red Hat rating: Critical. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Advanced Cluster Management for Kubernetes 2 | Affected | No fix yet |
Timeline
- 2026-10-02 Threatist record created from CVE-2023-30547
- 2026-10-03 Alias added: GHSA-ch3r-j5x3-6q2m
References
Exploit 2
Patch 2
More patriksimek Vm2 vulnerabilities
- TI-2023-13478 vm2 Sandbox Escape vulnerability CVSS 3.1CRITICAL 10.0
- TI-2026-33200 vm2: Sandbox Breakout Using Async Generator CVSS 3.1CRITICAL 9.8
- TI-2026-32052 vm2: Sandbox Breakout Through Null Proto Exception CVSS 3.1CRITICAL 9.8
- TI-2026-32051 vm2 has sandbox breakout via `neutralizeArraySpeciesBatch` CVSS 3.1CRITICAL 9.8
- TI-2026-32049 vm2: Sandbox Escape CVSS 3.1CRITICAL 10.0
- TI-2026-32048 vm2: Sandbox escape CVSS 3.1CRITICAL 10.0
Sources
- CVE-2023-30547 · CVE Program
- CVE-2023-30547 · NVD
- FIRST EPSS
- GHSA-ch3r-j5x3-6q2m · GitHub Advisory Database · CC BY 4.0
- CVE-2023-30547 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences