Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
vm2: bufferAllocLimit cap bypassed by Buffer.concat and Buffer.from arrayLike
Vulnerability Description
vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.6, the bufferAllocLimit enforcement in lib/setup-sandbox.js does not cover Buffer.concat(list, totalLength) or Buffer.from(arrayLike) with an attacker-controlled length, allowing sandbox code to perform large synchronous host external-memory allocations that bypass the configured cap and can exhaust the host process. This issue is fixed in version 3.11.6.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Vulnerability Type
不加限制或调节的资源分配
Vulnerability Title
Patrik Simek vm2 资源管理错误漏洞
Vulnerability Description
Patrik Simek vm2是Patrik Simek个人开发者的一个运行不受信任代码的沙箱环境。 Patrik Simek vm2 3.11.6之前版本存在资源管理错误漏洞,该漏洞源于lib/setup-sandbox.js中的bufferAllocLimit限制未涵盖攻击者控制长度的Buffer.concat(list, totalLength)或Buffer.from(arrayLike)操作,允许沙箱代码执行大型同步主机外部内存分配,绕过配置上限并耗尽主机进程。
CVSS Information
N/A
Vulnerability Type
N/A