CVE-2023-30547
CVE-2023-30547 — Sandbox Escape in vm2
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.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Public exploit
exploit code published, no use observed
EPSS
73%
chance of exploitation in 30 days
CVSS base
9.8
CRITICAL
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
PoC
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.8 | CVSS 3.1 | CRITICAL | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-74
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1562.003Impair Defenses: Impair Command History Logging
- T1574.006Hijack Execution Flow: Dynamic Linker Hijacking
- T1574.007Hijack Execution Flow: Path Interception by PATH Environment Variable
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
Indexed by
References
4 on the record
- github.com/patriksimek/vm2/security/advisories/GHSA-ch3r-j5x3-6q2m
x_refsource_CONFIRM
- github.com/patriksimek/vm2/commit/4b22e87b102d97d45d112a0931dba1aef7eea049
x_refsource_MISC
- github.com/patriksimek/vm2/commit/f3db4dee4d76b19869df05ba7880d638a880edd5
x_refsource_MISC
- gist.github.com/leesh3288/381b230b04936dd4d74aaf90cc8bb244
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-20337 Cisco ISE API Unauthenticated Remote Code Execution VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2025-20281 Cisco ISE API Unauthenticated Remote Code Execution VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2023-22527 Atlassian Confluence Data Center and Server Template Injection VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2022-46169 Unauthenticated Command InjectionCVSS 9.8 · CISA KEV
- CVE-2022-35914 Teclib GLPI Remote Code Execution VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2022-26134 Atlassian Confluence Server and Data Center Remote Code Execution VulnerabilityCVSS 9.8 · CISA KEV
Elsewhere on this site
- Patriksimekevery CVE for this vendor
- CWE-74other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.