CVE-2021-23449
CRITICAL 10.0CVSS 3.1Prototype Pollution in vm2
This affects the package vm2 before 3.9.4 via a Prototype Pollution attack vector, which can lead to execution of arbitrary code on the host machine.
- Published
- 18 Oct 2021
- Last modified
- 8 Jul 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-1321CWE-915
- Also known as
- GHSA-rjf2-j2r6-q8grSNYK-JS-VM2-1585918
- Sources
- NVDJSONOSV GHSA-rjf2-j2r6-q8grJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| 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 |
| 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 |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vm2_project | vm2cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:* |
< 3.9.4 | 3.9.4 |
| OSV | npm | vm2 | < 3.9.4 | 3.9.4 |
References
- https://github.com/patriksimek/vm2/commit/b4f6e2bd2c4a1ef52fc4483d8e35f28bc4481886 · Patch, Third Party Advisory, WEB
- https://github.com/patriksimek/vm2/issues/363 · Third Party Advisory, WEB
- https://github.com/patriksimek/vm2/releases/tag/3.9.4 · Release Notes, Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20211029-0010/ · Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JS-VM2-1585918 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-23449 · ADVISORY
- https://github.com/patriksimek/vm2 · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 18 Oct 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Oct 2021)