CVE-2023-30547

CRITICAL

Vm2 < 3.9.16 - Injection

Title source: rule

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.

Exploits (4)

nomisec WORKING POC 47 stars
by rvizx · poc
https://github.com/rvizx/CVE-2023-30547
nomisec WORKING POC 1 stars
by Cur1iosity · poc
https://github.com/Cur1iosity/CVE-2023-30547
nomisec WORKING POC
by junnythemarksman · poc
https://github.com/junnythemarksman/CVE-2023-30547
nomisec WORKING POC
by user0x1337 · poc
https://github.com/user0x1337/CVE-2023-30547

Scores

CVSS v3 9.8
EPSS 0.8394
EPSS Percentile 99.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-74
Status published
Products (2)
npm/vm2 0 - 3.9.17npm
vm2_project/vm2 < 3.9.16
Published Apr 17, 2023
Tracked Since Feb 18, 2026