Security mailing lists by PureSourceCode

CVE-2022-25893

CRITICAL 9.8CVSS 3.1

vm2 vulnerable to Arbitrary Code Execution

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.

Published
21 Dec 2022
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-471CWE-94
Also known as
GHSA-4w2j-2rg4-5mjw
Sources
NVDJSONOSV GHSA-4w2j-2rg4-5mjwJSON

Scores

SourceScored byVersionScoreVector / decision
NVD report@snyk.io (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD vm2_project vm2
cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:*
< 3.9.10 3.9.10
OSV npm vm2 < 3.9.10 3.9.10

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 21 Dec 2022)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 21 Dec 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.