Improper Control of Dynamically-Managed Code Resources in vm2 - CVE-2023-29017

 

Improper Control of Dynamically-Managed Code Resources in vm2 - CVE-2023-29017

Published: April 10, 2023 / Updated: May 17, 2023


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

Detailed vulnerability description

The vulnerability allows a remote attacker to escape sandbox restrictions.

The vulnerability exists due to improper handling of host objects passed to "Error.prepareStackTrace" in case of unhandled async errors. A remote attacker can pass specially crafted input to the application, escape sandbox restrictions and execute arbitrary code on the host.


How to mitigate CVE-2023-29017

Install updates from vendor's website.

Sources