2024-05-25 21:48:12 +02:00
### [CVE-2023-29017](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-29017)



### Description
vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. Prior to version 3.9.15, vm2 was not properly handling host objects passed to `Error.prepareStackTrace` in case of unhandled async errors. A threat actor could bypass the sandbox protections to gain remote code execution rights on the host running the sandbox. This vulnerability was patched in the release of version 3.9.15 of vm2. There are no known workarounds.
### POC
#### Reference
- https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76d
- https://github.com/patriksimek/vm2/issues/515
- https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgv
#### Github
- https://github.com/ARPSyndicate/cvemon
2024-06-10 07:22:43 +00:00
- https://github.com/Aduda-Shem/Semgrep_Rules
2024-05-25 21:48:12 +02:00
- https://github.com/Kaneki-hash/CVE-2023-29017-reverse-shell
- https://github.com/Threekiii/CVE
2024-06-10 07:22:43 +00:00
- https://github.com/jakabakos/vm2-sandbox-escape-exploits
2024-05-25 21:48:12 +02:00
- https://github.com/nomi-sec/PoC-in-GitHub
- https://github.com/passwa11/CVE-2023-29017-reverse-shell
- https://github.com/seal-community/patches
2024-05-28 08:49:17 +00:00
- https://github.com/silenstack/sast-rules
2024-05-25 21:48:12 +02:00
- https://github.com/timb-machine-mirrors/seongil-wi-CVE-2023-29017