Code injection in vm2 - CVE-2023-30547

 

Code injection in vm2 - CVE-2023-30547

Published: April 20, 2023 / Updated: December 18, 2023


Vulnerability identifier: #VU75367
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P/U:Green
CVE-ID: CVE-2023-30547
CWE-ID: CWE-74
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: Patrik Simek
Affected software:
vm2

Detailed vulnerability description

The vulnerability allows a remote user to bypass implemented security restrictions.

The vulnerability exists due to an error in exception sanitization. A remote user can raise an unsanitized host exception inside "handleException()", which can be used to escape the sandbox and run arbitrary code in host context.


How to mitigate CVE-2023-30547

Install updates from vendor's website.

Sources