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: Sandbox Breakout Using Async Generator
Vulnerability Description
vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.3, it is possible to catch a host exception using the yield* expression inside an async generator. When the generator is closed using the return function, the value is awaited on and exceptions thrown in the then call will be caught by the runtime and passed to the yield* iterator as the next value. This allows attackers to write code which can escape from the VM2 sandbox and execute arbitrary commands on the host system. This vulnerability is fixed in 3.11.3.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vulnerability Type
将资源暴露给错误范围
Vulnerability Title
vm2 安全漏洞
Vulnerability Description
vm2是捷克Patrik Simek个人开发者的一个 Node.js 的高级虚拟机/沙盒。以使用列入白名单的 Node 内置模块运行不受信任的代码。 vm2 3.11.3之前版本存在安全漏洞,该漏洞源于在异步生成器中使用yield*表达式捕获主机异常,当生成器通过return函数关闭时,值被等待且then调用中抛出的异常被运行时捕获并传递给yield*迭代器作为下一个值,可能导致攻击者编写代码逃逸VM2沙箱并在主机系统上执行任意命令。
CVSS Information
N/A
Vulnerability Type
N/A