CVE-2022-25893
Last modified
CVE-2022-25893 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 1.43% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Vm2 Project | Vm2 | < 3.9.10 |
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
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-25893?
How severe is CVE-2022-25893?
How do I fix CVE-2022-25893?
Are you affected by CVE-2022-25893?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
