[CVE-2026-100722] vm2 before 3.12.2 does not apply host-side Promise rejection

CVE-2026-100722 | CVSS: 6.8 | 严重级别: MEDIUM

vm2 before 3.12.2 does not apply host-side Promise rejection handling in the sandbox-to-host construct trap. In BaseHandler, the apply trap calls markHostPromiseHandled() on the returned value, but the adjacent construct path returns the result of Reflect.construct without the same sanitization. If an embedder exposes a constructable host function whose constructor returns a native rejected Promise, an untrusted script executed via VM.run can invoke it with `new` and ignore the result; the rejected host Promise crosses the bridge unhandled and, under Node's strict unhandled-rejection policy, i

参考链接:
• https://github.com/patriksimek/vm2/security/advisories/GHSA-2v2p-6j97-cjg9
• https://www.vulncheck.com/advisories/vm2-before-3.12.2-host-process-termination-

📌 数据来源: NVD 官方

⚠️ 合规声明: 本文内容仅用于网络安全合规学习、科研与授权测试用途。严禁用于任何未授权行为,违者自行承担全部法律责任。
滚动至顶部