QID 378731
Date Published: 2023-08-10
QID 378731: vm2 NPM Package Remote Code Execution (RCE) Vulnerability (GHSA-cchq-frgv-rjh5,GHSA-g644-9gfx-q4q4)
CVE-2023-37903: Remote Code Execution, assuming the attacker has arbitrary code execution primitive inside the context of vm2 sandbox.
CVE-2023-37466: handler sanitization can be bypassed, allowing attackers to escape the sandbox and run arbitrary code.
Affected Versions:
vm2 NPM package versions upto to 3.9.19
QID Detection Logic (Authenticated):
This QID checks for vulnerable version of vm2 npm package installed globally. The QID runs the "npm list -g --silent" command and checks the file "/usr/local/lib/node_modules/vm2/package.json" to look for vulnerable versions of vm2.
Note:
NPM packages can be installed anywhere as a developer/production dependency. This QID can only detect vm2 packages that are installed globally. For Microsoft Windows, this QID checks for installed packages within the '%systemdrive%\Users\Administrator' directory.
Successful exploitation of the vulnerability may result in remote code execution.
- GHSA-cchq-frgv-rjh5 -
github.com/patriksimek/vm2/security/advisories/GHSA-cchq-frgv-rjh5 - GHSA-g644-9gfx-q4q4 -
github.com/patriksimek/vm2/security/advisories/GHSA-g644-9gfx-q4q4
CVEs related to QID 378731
| Advisory ID | Software | Component | Link |
|---|