vm2 before 3.11.6 Memory Exhaustion DoS via bufferAllocLimit Bypass
patriksimek vm2
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| vm2 npm |
|
|
Original description
vm2 before 3.11.6 fails to enforce bufferAllocLimit on ArrayBuffer, SharedArrayBuffer, and TypedArray constructors, allowing attackers to allocate arbitrary host memory. Attackers can bypass the buffer allocation cap by using these V8 intrinsics to exhaust host process memory and trigger out-of-memory conditions.
From the CVE record · VulnCheck