vm2 vulnerable to Arbitrary Code Execution
Critical severity
GitHub Reviewed
Published
Dec 21, 2022
to the GitHub Advisory Database
•
Updated Jan 30, 2023
Description
Published by the National Vulnerability Database
Dec 21, 2022
Published to the GitHub Advisory Database
Dec 21, 2022
Reviewed
Dec 22, 2022
Last updated
Jan 30, 2023
The package vm2 before 3.9.10 is vulnerable to Arbitrary Code Execution due to the usage of prototype lookup for the WeakMap.prototype.set method. Exploiting this vulnerability leads to access to a host object and a sandbox compromise.
References