GHSA-5r27-rw8r-7967 · 深刻度: high · エコシステム: npm — import-in-the-middle has unsanitized user controlled input in module generation
import-in-the-middle is a module loading interceptor specifically for ESM modules. The import-in-the-middle loader works by generating a wrapper module on the fly. The wrapper uses the module specifier to load the original module and add some wrapping code. Prior to version 1.4.2, it allows for remote code execution in cases where an application passes user-supplied input directly to the `import()` function. This vulnerability has been patched in import-in-the-middle version 1.4.2. Some workarounds are available. Do not pass any user-supplied input to `import()`. Instead, verify it against a set of allowed values. If using import-in-the-middle, directly or indirectly, and support for EcmaScript Modules is not needed, ensure that no options are set, either via command-line or the `NODE_OPTIONS` environment variable, that would enable loader hooks.
総合評価: CVE-2023-38704 は中リスク(58.5/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.80%、74 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-03 | 0.75% | 0.80% | +0.05% |
| 2 | 2026-05-02 | 0.56% | 0.75% | +0.19% |
| 3 | 2025-11-21 | — | 0.56% | — |
EPSS の全履歴 (全 16 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 8.1 | 3.1 | HIGH |
|
2.2 | 5.3 | [email protected] |
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
GHSA-5r27-rw8r-7967 · 深刻度: high · エコシステム: npm — import-in-the-middle has unsanitized user controlled input in module generation
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| datadoghq | import-in-the-middle | < 1.4.2 | cpe:2.3:a:datadoghq:import-in-the-middle:*:*:*:*:*:node.js:*:* |
| URL | タグ |
|---|---|
| https://github.com/DataDog/import-in-the-middle/commit/2531cdd9d1d73f9eaa87c16967f60cb276c1971b | Patch |
| https://github.com/DataDog/import-in-the-middle/security/advisories/GHSA-5r27-rw8r-7967 | Mitigation Third Party Advisory |