CVE-2022-25893
CRITICAL9.8EPSS 0.50%vm2 vulnerable to Arbitrary Code Execution
Published: 12/21/2022Modified: 11/8/2023
Description
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.
Affected packages (1)
- npm/vm2from 0, < 3.9.10
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-25893
- PATCHhttps://github.com/patriksimek/vm2
- WEBhttps://github.com/patriksimek/vm2/issues/444
- WEBhttps://github.com/patriksimek/vm2/pull/445
- WEBhttps://github.com/patriksimek/vm2/pull/445/commits/3a9876482be487b78a90ac459675da7f83f46d69
- WEBhttps://security.snyk.io/vuln/SNYK-JS-VM2-2990237