GHSA-gjq8-xm47-88rc: vm2: Host-returned Promise rejection can bypass vm2's unhandled-rejection hardening and terminate the host
Source: github.com
vm2 current head (v3.11.5, commit 7a1f5100b96f48d34e0fe104ab37c0acc5944f92) can still be used to terminate the host Node.js process when sandbox code calls a host-realm function that returns a rejected host Promise and then ignores the returned value. This is an incomplete-fix variant of the GHSA-hw58-p9xv-2mjh unhandled rejection hardening. The localPromise constructor now catches and consumes sandbox-created unhandled rejections, but host Promises returned across the bridge are not marked handled at the bridge boundary. If the sandbox does not attach .catch() or `.then(.
Signalsas the pipeline stamped them
High Critical vulnerability — CVSS 8.6
What to do
- Critical severity — schedule an urgent patch.
CVEKEV and EPSS where known
Get the next one first
Every story goes to Telegram and RSS the moment it is published, and the whole wire is a keyless JSON API.