GHSA-9c4h-3f7h-322r · 深刻度: critical · エコシステム: npm — SES's dynamic import and spread operator provides possible path to arbitrary exfiltration and execution
SES is a JavaScript environment that allows safe execution of arbitrary programs in Compartments. In version 0.18.0 prior to 0.18.7, 0.17.0 prior to 0.17.1, 0.16.0 prior to 0.16.1, 0.15.0 prior to 0.15.24, 0.14.0 prior to 0.14.5, an 0.13.0 prior to 0.13.5, there is a hole in the confinement of guest applications under SES that may manifest as either the ability to exfiltrate information or execute arbitrary code depending on the configuration and implementation of the surrounding host. Guest program running inside a Compartment with as few as no endowments can gain access to the surrounding host’s dynamic import by using dynamic import after the spread operator, like `{...import(arbitraryModuleSpecifier)}`. On the web or in web extensions, a Content-Security-Policy following ordinary best practices likely mitigates both the risk of exfiltration and execution of arbitrary code, at least limiting the modules that the attacker can import to those that are already part of the application. However, without a Content-Security-Policy, dynamic import can be used to issue HTTP requests for either communication through the URL or for the execution of code reachable from that origin. Within an XS worker, an attacker can use the host’s module system to the extent that the host has been configured. This typically only allows access to module code on the host’s file system and is of limited use to an attacker. Within Node.js, the attacker gains access to Node.js’s module system. Importing the powerful builtins is not useful except insofar as there are side-effects and tempered because dynamic import returns a promise. Spreading a promise into an object renders the promises useless. However, Node.js allows importing data URLs, so this is a clear path to arbitrary execution. Versions 0.18.7, 0.17.1, 0.16.1, 0.15.24, 0.14.5, and 0.13.5 contain a patch for this issue. Some workarounds are available. On the web, providing a suitably constrained Content-Security-Policy mitigates most of the threat. With XS, building a binary that lacks the ability to load modules at runtime mitigates the entirety of the threat. That will look like an implementation of `fxFindModule` in a file like `xsPlatform.c` that calls `fxRejectModuleFile`.
総合評価: CVE-2023-39532 は悪用リスクが高い(76.4/100)。CVSS 深刻度は重大。悪用される可能性が高い(EPSS 1.23%、65 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 1.80% | 1.23% | -0.56% |
| 2 | 2026-05-03 | 1.35% | 1.80% | +0.44% |
| 3 | 2026-03-04 | — | 1.35% | — |
EPSS の全履歴 (全 40 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
GHSA-9c4h-3f7h-322r · 深刻度: critical · エコシステム: npm — SES's dynamic import and spread operator provides possible path to arbitrary exfiltration and execution
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| agoric | ses | >= 0.13.0, < 0.13.5 | cpe:2.3:a:agoric:ses:*:*:*:*:*:node.js:*:* |
| agoric | ses | >= 0.14.0, < 0.14.5 | cpe:2.3:a:agoric:ses:*:*:*:*:*:node.js:*:* |
| agoric | ses | >= 0.15.0, < 0.15.24 | cpe:2.3:a:agoric:ses:*:*:*:*:*:node.js:*:* |
| agoric | ses | >= 0.18.0, < 0.18.7 | cpe:2.3:a:agoric:ses:*:*:*:*:*:node.js:*:* |
| agoric | ses | 0.16.0 | cpe:2.3:a:agoric:ses:0.16.0:*:*:*:*:node.js:*:* |
| agoric | ses | 0.17.0 | cpe:2.3:a:agoric:ses:0.17.0:*:*:*:*:node.js:*:* |
| URL | タグ |
|---|---|
| https://github.com/endojs/endo/commit/fc90c6429604dc79ce8e3355e236ccce2bada041 | Patch |
| https://github.com/endojs/endo/security/advisories/GHSA-9c4h-3f7h-322r | Exploit Patch Vendor Advisory |