vm2 3.10.0 through 3.11.7 Denial of Service via Host Promise
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| patriksimek | vm2 | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Patriksimek | Vm2 |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-gjq8-xm47-88rc | vm2: Host-returned Promise rejection can bypass vm2's unhandled-rejection hardening and terminate the host process |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.488% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Title | vm2 3.10.0 through 3.11.5 Denial of Service via Host Promise | vm2 3.10.0 through 3.11.7 Denial of Service via Host Promise |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Patriksimek
Patriksimek vm2 |
|
| Vendors & Products |
Patriksimek
Patriksimek vm2 |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | vm2 is a sandbox library for running untrusted JavaScript in Node.js. In versions >= 3.10.0 and <= 3.11.7, Promises returned from the host realm into the sandbox are not marked as handled at the bridge boundary; only Promises created inside the sandbox are wrapped with a rejection-swallowing handler (lib/setup-sandbox.js), and the bridge only installs host-side rejection sanitizers when sandbox code calls .then/.catch/.finally. As a result, code running in the sandbox can invoke a host function that returns a rejected Promise (for example events.once() exposed via the NodeVM events builtin, or any embedder-provided Promise-returning API) and simply ignore the return value, leaving the host Promise unhandled so that Node.js's default unhandled-rejection behavior terminates the host process. This is an incomplete fix of GHSA-hw58-p9xv-2mjh. The issue is fixed in version 3.11.8. | |
| Title | vm2 3.10.0 through 3.11.5 Denial of Service via Host Promise | |
| Weaknesses | CWE-248 | |
| References |
| |
| Metrics |
cvssV3_1
|