CVE-2023-29017: vm2 Sandbox Escape vulnerability

Published Apr 6, 2023
·
Updated

A flaw was found in vm2 where the component was not properly handling asynchronous errors. This flaw allows a remote, unauthenticated attacker to escape the restrictions of the sandbox and execute code on the host.

Other sources

https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgv

Red Hat

vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. Prior to version 3.9.15, vm2 was not properly handling host objects passed to Error.prepareStackTrace in case of unhandled async errors. A threat actor could bypass the sandbox protections to gain remote code execution rights on the host running the sandbox. This vulnerability was patched in the release of version 3.9.15 of vm2. There are no known workarounds.

Affected Software

2 affected componentsFixes available
redhat/vm2<3.9.15
3.9.15
Vm2 Project Vm2 Node.js<3.9.15

Remediation

Information

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Event History

Apr 6, 2023
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·07:18 PM
Data Sourced
via MITRE·07:18 PM
DescriptionSeverityWeakness
Jan 27, 2026
News Published
via BleepingComputer·04:35 PM
News Published
via BleepingComputer·04:36 PM
May 6, 2026
News Published
via BleepingComputer·06:38 PM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2023-29017?

CVE-2023-29017 has been classified with a severity rating that indicates it poses a security risk due to improper handling of asynchronous errors.

2

How do I fix CVE-2023-29017?

To fix CVE-2023-29017, upgrade the vm2 package to version 3.9.15 or later.

3

Who is affected by CVE-2023-29017?

CVE-2023-29017 affects users of the vm2 package prior to version 3.9.15.

4

What components are vulnerable in CVE-2023-29017?

CVE-2023-29017 specifically impacts the vm2 package due to its improper handling of asynchronous errors.

5

Is CVE-2023-29017 a remote exploit?

Yes, CVE-2023-29017 can be exploited remotely, allowing unauthenticated attackers to potentially exploit the flaw.

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