VulnerabilityModified
CVE-2022-25893
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.
CRITICAL 9.8EPSS 1.43%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.43%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.43% probability · 71th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-471
- Affected
- vm2 project/vm2
- Source
- report@snyk.io
References
- https://github.com/patriksimek/vm2/issues/444Exploit, Issue Tracking, Third Party Advisory
- https://github.com/patriksimek/vm2/pull/445Patch, Third Party Advisory
- https://github.com/patriksimek/vm2/pull/445/commits/3a9876482be487b78a90ac459675da7f83f46d69Patch, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-VM2-2990237Exploit, Patch, Third Party Advisory
- https://github.com/patriksimek/vm2/issues/444Exploit, Issue Tracking, Third Party Advisory
- https://github.com/patriksimek/vm2/pull/445Patch, Third Party Advisory
- https://github.com/patriksimek/vm2/pull/445/commits/3a9876482be487b78a90ac459675da7f83f46d69Patch, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-VM2-2990237Exploit, Patch, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.