CVE-2022-25893
criticalpriority · track · 40EPSS 0.015 · 75 %ileEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-4w2j-2rg4-5mjwvm2 vulnerable to Arbitrary Code Execution2022-12-21ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-25893/cnnvd
- https://github.com/patriksimek/vm2/issues/444cnnvd
- https://github.com/patriksimek/vm2/pull/445/commits/3a9876482be487b78a90ac459675da7f83f46d69cnnvd
- https://github.com/patriksimek/vm2/releases/tag/3.9.13Patchcnnvd
- https://security.snyk.io/vuln/SNYK-JS-VM2-2990237cnnvd
- https://github.com/patriksimek/vm2/issues/444enisa_euvd
- https://github.com/patriksimek/vm2/pull/445enisa_euvd
- https://github.com/patriksimek/vm2/pull/445/commits/3a9876482be487b78a90ac459675da7f83f46d69enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan