vm2: Host-returned Promise rejection can bypass vm2's unhandled-rejection hardening and terminate the host process
What to do
- Upgrade to a fixed version: vm2 3.11.8.
- Redeploy and restart long-running processes so they load the fixed code.
Affected packages
vm2
- >= 3.10.0, <= 3.11.7
- 3.11.8
Check your project: npm ls vm2 --all