REDHAT-BUG-2477210: High severity vm2 vm2 vulnerability

Published May 13, 2026
·
Updated

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.

Affected Software

1 affected component
vm2 vm2<3.11.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade vm2 to a version that resolves this vulnerability.

    Fixed in 3.11.3

Event History

May 13, 2026
Data Sourced
via Red Hat·06:02 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2477210?

The severity of REDHAT-BUG-2477210 is classified as high with a rating of 7.

2

How do I fix REDHAT-BUG-2477210?

To address REDHAT-BUG-2477210, upgrade vm2 to version 3.11.3 or later.

3

What is the nature of the vulnerability in REDHAT-BUG-2477210?

REDHAT-BUG-2477210 allows the catching of host exceptions using the yield* expression in async generators.

4

What versions of vm2 are affected by REDHAT-BUG-2477210?

Versions prior to 3.11.3 of vm2 are affected by REDHAT-BUG-2477210.

5

Is REDHAT-BUG-2477210 a known issue in the Node.js ecosystem?

Yes, REDHAT-BUG-2477210 has been identified as a vulnerability in the Node.js ecosystem involving the vm2 package.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203