Advisory

GHSA-4w2j-2rg4-5mjw

Also known as: CVE-2022-25893

Summary

vm2 vulnerable to Arbitrary Code Execution

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-12-21 06:30 UTC
Modified
2023-11-08 04:08 UTC

Affected packages and fixes

vm2

npm · All systems

Affected

  • introduced 0, fixed 3.9.10 (semver)

Fixed versions

3.9.10

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences