CVE-2022-25893

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-25893
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25893.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-25893
Aliases
Published
2022-12-21T05:15:11Z
Modified
2025-04-15T22:49:57.588751Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/patriksimek/vm2

Affected ranges

Type
GIT
Repo
https://github.com/patriksimek/vm2
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

3.*

3.9.3
3.9.4
3.9.5
3.9.6
3.9.7
3.9.8
3.9.9

v3.*

v3.9.0
v3.9.1
v3.9.2