CVE-2023-30547
Sandbox Escape in vm2
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
6Exploited in Wild
-Decision
Descriptions
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.
A flaw was found in the vm2 sandbox. When exception handling is triggered, an unsanitized host is not managed properly. This issue may allow an attacker to bypass the sandbox protections, which can lead to remote code execution on the hypervisor host or the host that is running the sandbox.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2023-04-12 CVE Reserved
- 2023-04-17 CVE Published
- 2023-12-14 First Exploit
- 2024-08-02 CVE Updated
- 2024-11-22 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
- CWE-755: Improper Handling of Exceptional Conditions
CAPEC
References (10)
URL | Tag | Source |
---|
URL | Date | SRC |
---|---|---|
https://github.com/rvizx/CVE-2023-30547 | 2023-12-14 | |
https://github.com/Cur1iosity/CVE-2023-30547 | 2024-02-14 | |
https://github.com/user0x1337/CVE-2023-30547 | 2024-02-08 | |
https://github.com/junnythemarksman/CVE-2023-30547 | 2024-06-04 | |
https://gist.github.com/leesh3288/381b230b04936dd4d74aaf90cc8bb244 | 2024-08-02 | |
https://github.com/patriksimek/vm2/security/advisories/GHSA-ch3r-j5x3-6q2m | 2024-08-02 |
URL | Date | SRC |
---|---|---|
https://access.redhat.com/security/cve/CVE-2023-30547 | 2023-04-20 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2187608 | 2023-04-20 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Vm2 Project Search vendor "Vm2 Project" | Vm2 Search vendor "Vm2 Project" for product "Vm2" | <= 3.9.16 Search vendor "Vm2 Project" for product "Vm2" and version " <= 3.9.16" | node.js |
Affected
|