CVE-2023-37466
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…
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 17.4%, higher than 97% of all known CVEs. Patch or mitigate before the next change window.
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.
- CVSS 3.1
- 10.0 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- EPSS
- 17.42% probability · 97th percentile
- Public exploits
- 1 in Exploit-DB · first 16 March 2024
- CISA KEV
- Not listed
- Weakness
- CWE-94: Code injection
- Affected
- vm2 project/vm2
- Source
- security-advisories@github.com
In plain terms
It can be reached over a network with no login and no help from a user. On a system exposed to the internet, a patch or a network control is all that stands in the way.
- Reached from
- Over a network. If the affected system can be reached from the internet, so can the flaw.
- Effort
- Nothing outside the attacker's control has to line up, so an attack can be repeated reliably.
- Login needed
- None. No login is needed.
- Someone else involved
- No. Nobody has to click, open or approve anything.
- At risk
- Reading data: serious. Changing data: serious. Stopping the service: serious.
- Beyond the affected system
- Yes. The effect can reach systems other than the one that has the flaw.
Read from the CVSS 3.1 vector above. It describes the flaw itself, not how your own systems are set up.
The first public exploit in Exploit-DB is dated 16 March 2024, about 8 months after the record was published.
EPSS moved from 17.4% on 24 November 2026 to 17.4% on 5 December 2026. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”.
Public exploits (1)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
The same product
We hold 19 records for vm2 project/vm2. None of them is on CISA’s known-exploited list. Follow this product to hear of the next one.
Where to go from here
One vulnerability is rarely the whole question. These are free, and none of them asks for an account.
By email
Our briefing by email: what changed, what to patch and what it means for a UK organisation. Written for the people who have to act on it.
References
- https://github.com/patriksimek/vm2/commit/d9a1fde8ec5a5a9c9e5a69bf91d703950859d744
- https://github.com/patriksimek/vm2/releases/tag/v3.10.0
- https://github.com/patriksimek/vm2/security/advisories/GHSA-cchq-frgv-rjh5Exploit, Vendor Advisory
- https://github.com/patriksimek/vm2/security/advisories/GHSA-cchq-frgv-rjh5Exploit, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20241108-0002/
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.