Browse / AI Framework and Platform Flaws / CVE-2021-23449
Prototype Pollution in vm2
- Class
- AI Framework and Platform Flaws (filed by a model that read the source)
- Technique
- Sandbox escape
- Affected
- vm2 (npm)
- Gets past
- Sandbox or allowlist
- CVSS
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 3.6% chance of exploitation in 30 days
How it works, in short
Prototype pollution inside vm2 lets sandboxed code escape its boundary and run arbitrary code on the host. (Our summary, written by a model. The source text is below.)
Details
This affects the package vm2 before 3.9.4. Prototype Pollution attack vector can lead to sandbox escape and execution of arbitrary code on the host machine.
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-23449
- https://github.com/patriksimek/vm2/issues/363
- https://github.com/patriksimek/vm2/commit/b4f6e2bd2c4a1ef52fc4483d8e35f28bc4481886
- https://github.com/patriksimek/vm2
- https://github.com/patriksimek/vm2/releases/tag/3.9.4
- https://security.netapp.com/advisory/ntap-20211029-0010
- https://snyk.io/vuln/SNYK-JS-VM2-1585918
Source: GitHub Advisory Database, used under CC BY 4.0.