{"id":"GHSA-4w2j-2rg4-5mjw","summary":"vm2 vulnerable to Arbitrary Code Execution","details":"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.","aliases":["CVE-2022-25893"],"modified":"2023-11-08T04:08:51.082168Z","published":"2022-12-21T06:30:29Z","database_specific":{"github_reviewed_at":"2022-12-22T03:33:42Z","nvd_published_at":"2022-12-21T05:15:00Z","cwe_ids":["CWE-94"],"severity":"CRITICAL","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25893"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/issues/444"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/pull/445"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/pull/445/commits/3a9876482be487b78a90ac459675da7f83f46d69"},{"type":"PACKAGE","url":"https://github.com/patriksimek/vm2"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-VM2-2990237"}],"affected":[{"package":{"name":"vm2","ecosystem":"npm","purl":"pkg:npm/vm2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.9.10"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-4w2j-2rg4-5mjw/GHSA-4w2j-2rg4-5mjw.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}