cve/2023/CVE-2023-29017.md

30 lines
1.7 KiB
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2023-29017](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-29017)
![](https://img.shields.io/static/v1?label=Product&message=vm2&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%203.9.15%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-913%3A%20Improper%20Control%20of%20Dynamically-Managed%20Code%20Resources&color=brighgreen)
### 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
2024-06-09 00:33:16 +00:00
- https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76d
2024-05-25 21:48:12 +02:00
- https://github.com/patriksimek/vm2/issues/515
2024-06-09 00:33:16 +00:00
- https://github.com/patriksimek/vm2/issues/515
2024-05-25 21:48:12 +02:00
- https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgv
2024-06-09 00:33:16 +00:00
- https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgv
2024-05-25 21:48:12 +02:00
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/Kaneki-hash/CVE-2023-29017-reverse-shell
- https://github.com/Threekiii/CVE
- 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