CVE-2023-37466 json
vm2 Sandbox Escape vulnerability
published 2023-07-13 3 y ago modified 2026-06-17 4 mo ago also GHSA-cchq-frgv-rjh5 , EUVD-2023-2028
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.9%
- EPSS 3.9% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm vm2 3.10.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-37466 updated cvss 9.8
vm2: Promise handler sanitization can be bypassed allowing attackers to escape the sandbox and run arbitrary code
-
Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/console-rhel8affected: workaround, no fix available
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
3.87% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/patriksimek/vm2/security/advisories/GHSA-cchq-frgv-rjh5 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | vm2 | <3.10.0 |
3.10.0 |
Affected products
- patriksimek vm2
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/patriksimek/vm2/commit/d9a1fde8ec5a5a9c9e5a69bf91d703950859d744
web
-
github.com
/patriksimek/vm2/security/advisories/GHSA-cchq-frgv-rjh5
web, exploit, vendor-advisory
-
github.com
/patriksimek/vm2/releases/tag/v3.10.0
web
- security.netapp.com /advisory/ntap-20241108-0002/
-
nvd.nist.gov
/vuln/detail/CVE-2023-37466
advisory
-
gist.github.com
/leesh3288/f693061e6523c97274ad5298eb2c74e9
web
-
github.com
/patriksimek/vm2
package
-
security.netapp.com
/advisory/ntap-20230831-0007
web
-
security.netapp.com
/advisory/ntap-20241108-0002
web
Sources
- CVE List CVE-2023-37466
- GitHub Advisory GHSA-cchq-frgv-rjh5
- NVD CVE-2023-37466
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.