mirror of
https://github.com/0xMarcio/cve.git
synced 2025-05-06 02:31:38 +00:00
1.7 KiB
1.7 KiB
CVE-2023-30547
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.
POC
Reference
- https://gist.github.com/leesh3288/381b230b04936dd4d74aaf90cc8bb244
- https://gist.github.com/leesh3288/381b230b04936dd4d74aaf90cc8bb244
- https://github.com/patriksimek/vm2/security/advisories/GHSA-ch3r-j5x3-6q2m
- https://github.com/patriksimek/vm2/security/advisories/GHSA-ch3r-j5x3-6q2m
Github
- https://github.com/Af7eR9l0W/HTB-Codify
- https://github.com/Cur1iosity/CVE-2023-30547
- https://github.com/Maladra/Write-Up-Codify
- https://github.com/jakabakos/vm2-sandbox-escape-exploits
- https://github.com/karimhabush/cyberowl
- https://github.com/nomi-sec/PoC-in-GitHub
- https://github.com/rvizx/CVE-2023-30547
- https://github.com/user0x1337/CVE-2023-30547