vm2 is vulnerable to Denial of Service
75
CVE Score
High
Denial of Service
Guest code can call Buffer.alloc with extremely large sizes and pressure host heap without hitting the same throttling patterns as network-bound work. That yields a memory exhaustion denial of service against the embedding process. The behavior is especially risky when operators assume timeouts protect them from huge allocations. A new bufferAllocLimit option lets embedders cap individual allocations as defense in depth.
Upgrade the vm2 library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
0.0.1 - 3.10.5
Fixed in 3.11.0vm2 is vulnerable to Denial of Service in versions 0.0.1 - 3.10.5.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.