{"id":"CVE-2022-25893","state":"PUBLISHED","title":"Arbitrary Code Execution","description":"The package vm2 before 3.9.10 are 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.","publishedAt":"2022-12-21T23:14:33.786Z","updatedAt":"2025-04-15T19:18:16.546Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","source":"snyk"},"assigner":"snyk","products":["n/a vm2"],"affected":[{"vendor":"n/a","product":"vm2","versions":[{"version":"unspecified","status":"affected","lessThan":"3.9.10","versionType":"custom"}]}],"references":["https://security.snyk.io/vuln/SNYK-JS-VM2-2990237","https://github.com/patriksimek/vm2/issues/444","https://github.com/patriksimek/vm2/pull/445/commits/3a9876482be487b78a90ac459675da7f83f46d69","https://github.com/patriksimek/vm2/pull/445"],"weaknesses":["CWE-471"],"ingestedAt":"2026-10-29T19:49:46.971Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/25xxx/CVE-2022-25893.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-25893","state":"PUBLISHED","datePublished":"2022-12-21T23:14:33.786Z","dateUpdated":"2025-04-15T19:18:16.546Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2022-02-24T00:00:00.000Z"},"containers":{"cna":{"title":"Arbitrary Code Execution","descriptions":[{"lang":"en","value":"The package vm2 before 3.9.10 are 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."}],"affected":[{"vendor":"n/a","product":"vm2","versions":[{"version":"unspecified","status":"affected","lessThan":"3.9.10","versionType":"custom"}]}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-VM2-2990237"},{"url":"https://github.com/patriksimek/vm2/issues/444"},{"url":"https://github.com/patriksimek/vm2/pull/445/commits/3a9876482be487b78a90ac459675da7f83f46d69"},{"url":"https://github.com/patriksimek/vm2/pull/445"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","exploitCodeMaturity":"PROOF_OF_CONCEPT","remediationLevel":"NOT_DEFINED","reportConfidence":"NOT_DEFINED","baseScore":9.8,"temporalScore":9.3,"baseSeverity":"CRITICAL","temporalSeverity":"CRITICAL"}}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"Arbitrary Code Execution"}]}],"providerMetadata":{"shortName":"snyk","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateUpdated":"2022-12-21T00:00:00.000Z"},"datePublic":"2022-12-21T00:00:00.000Z","credits":[{"lang":"en","value":"Ghaem Arasteh"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-VM2-2990237","tags":["x_transferred"]},{"url":"https://github.com/patriksimek/vm2/issues/444","tags":["x_transferred"]},{"url":"https://github.com/patriksimek/vm2/pull/445/commits/3a9876482be487b78a90ac459675da7f83f46d69","tags":["x_transferred"]},{"url":"https://github.com/patriksimek/vm2/pull/445","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T04:49:44.298Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-15T19:18:11.043428Z","id":"CVE-2022-25893","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-471","type":"CWE","lang":"en","description":"CWE-471 Modification of Assumed-Immutable Data (MAID)"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-15T19:18:16.546Z"}}]}}}