CVE-2023-30547
Summary
| CVE | CVE-2023-30547 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-04-17 22:15:00 UTC |
| Updated | 2023-04-28 01:13:00 UTC |
| Description | 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. |
Risk And Classification
Problem Types: NVD-CWE-noinfo
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Vm2 Project | Vm2 | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Sandbox Escape · Advisory · patriksimek/vm2 · GitHub | MISC | github.com | |
| Ensure every catch block is protected · patriksimek/vm2@4b22e87 · GitHub | MISC | github.com | |
| Sandbox Escape in [email protected] · GitHub | MISC | gist.github.com | |
| Handle host errors captured in Promises · patriksimek/vm2@f3db4de · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 378432 vm2 NPM Package Remote Code Execution (RCE) Vulnerability (GHSA-ch3r-j5x3-6q2m)