Intel

AIKIDO-2026-111499

vm2 is vulnerable to Denial of Service

Denial of ServiceGHSA-gjq8-xm47-88rc Published 3 days ago

86

High Risk

This Affects:

JSvm2
3.10.0 - 3.11.7
Fixed in 3.11.8
Are you affected? Scan for Free

TL;DR

When host code returns a promise across the sandbox bridge and the sandbox does not attach a rejection handler, the rejection is left unhandled on the host side. An unhandled promise rejection propagates to the host process and terminates it, and the earlier unhandled-rejection hardening does not cover this path. Sandboxed code triggers this to crash the embedding host process. The fix marks host promises as handled at the apply boundary so a rejection can no longer terminate the host.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your host code exposes functions that return promises to the sandbox.

Background info

vm2 is vulnerable to Denial of Service in versions 3.10.0 - 3.11.7.

How to fix this

Upgrade the vm2 library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform