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.
{ "nvd_published_at": "2022-12-21T05:15:00Z", "github_reviewed_at": "2022-12-22T03:33:42Z", "severity": "CRITICAL", "github_reviewed": true, "cwe_ids": [ "CWE-94" ] }