Skip to content
OpenAdvisories
Critical · 9.8 CVE-2023-37466 EUVD-2023-2028GHSA-cchq-frgv-rjh5

vm2 Sandbox Escape vulnerability

Published Jul 13, 2023 · Updated Jan 5, 2026 · Assigned by GitHub_M

Description

vm2 is an advanced vm/sandbox for Node.js. The library contains critical security issues and should not be used for production. The maintenance of the project has been discontinued. In vm2 for versions up to 3.9.19, `Promise` handler sanitization can be bypassed with the `@@species` accessor property allowing attackers to escape the sandbox and run arbitrary code, potentially allowing remote code execution inside the context of vm2 sandbox. Version 3.10.0 contains a patch for the issue.

Affected products

VendorProductAffectedFixed
patriksimek vm2 <= 3.9.19 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm vm2 < 3.10.0 3.10.0 GHSA-cchq-frgv-rjh5

Advisories 1

References