CVE-2023-30547
criticalpriority · attend · 76EPSS 0.730 · 99 %ileexploit · PoCDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (5)
Public proof-of-concept and weaponised exploit code.
- Cur1iosity/CVE-2023-30547Tool for exploring CVE-2023-30547PoC · poc_in_github
- junnythemarksman/CVE-2023-30547junnythemarksman/CVE-2023-30547PoC · poc_in_github
- rvzsec/CVE-2023-30547PoC Exploit for VM2 Sandbox Escape VulnerabilityPoC · poc_in_github
- user0x1337/CVE-2023-30547PoC to CVE-2023-30547 (Library vm2)PoC · poc_in_github
affected products (5)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-1004vm2: Mehrere SchwachstellenDeutsch2023-04-18csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in vm2 ausnutzen, um aus der Sandbox auszubrechen und beliebigen Code im Host-Kontext auszuführen.
- GHSA-ch3r-j5x3-6q2mvm2 Sandbox Escape vulnerability2023-04-20ghsa · osvUS
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. ### Impact A threat actor can bypass the sandbox protections to gain remote code execution rights on the host running the sandbox. ### Patches This vulnerability was patched in the release of version `3.9.17` of `vm2`. ### Workarounds None. ### References PoC - https://gist.github.com/leesh3288/381b230b04936dd4d74aaf90cc8bb244 ### For more information If you have any questions or comments about this advisory: - Open an issue in [VM2](https://github.com/patriksimek/vm2) Thanks to [Xion](https://twitter.com/0x10n) (SeungHyun Lee) of [KAIST Hacking Lab](https://kaist-hacking.github.io/) for disclosing this vulnerability.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (17)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2023-30547cnnvd
- https://cxsecurity.com/cveshow/CVE-2023-30547/cnnvd
- https://gist.github.com/leesh3288/381b230b04936dd4d74aaf90cc8bb244cnnvd
- https://github.com/patriksimek/vm2/commit/4b22e87b102d97d45d112a0931dba1aef7eea049cnnvd
- https://github.com/patriksimek/vm2/commit/f3db4dee4d76b19869df05ba7880d638a880edd5cnnvd
- https://github.com/patriksimek/vm2/security/advisories/GHSA-ch3r-j5x3-6q2mcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2023-30547cnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.2262cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan