CVE-2023-45143 | Undici's cookie header not cleared on cross-origin redirect in fetch

Undici is an HTTP/1.1 client written from scratch for Node.js. Prior to version 5.26.2, Undici already cleared Authorization headers on cross-origin redirects, but did not clear `Cookie` headers. By design, `cookie` headers are forbidden request headers, disallowing them to be set in RequestInit.headers in browser environments. Since undici handles headers more liberally than the spec, there was a disconnect from the assumptions the spec made, and undici's implementation of fetch. As such this may lead to accidental leakage of cookie to a third-party site or a malicious attacker who can control the redirection target (ie. an open redirector) to leak the cookie to the third party site. This was patched in version 5.26.2. There are no known workarounds.

公開: 2023-10-12 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2023-45143 は低リスク(39.4/100)。CVSS 深刻度は低。悪用される可能性が高い(EPSS 1.22%、65 パーセンタイル) 根拠: 直近 1 日で EPSS が +1.12% 上昇。悪用への関心が高まっている可能性があります。 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2023-45143 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.10% 1.22% +1.12%
2 2026-03-04 0.29% 0.10% -0.18%
3 2026-03-01 0.29%

EPSS の全履歴 (全 38 件)

CVE-2023-45143 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
3.9 3.1 LOW
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:H)
到達できても、タイミング・負荷・周辺設定など、揃わないと成功しない局面が多い。
必要な権限 (PR:H)
管理者・SYSTEM など、強い権限を握った状態からでないと実害に結びつきにくい。
ユーザーの関与 (UI:R)
インストールの許可、設定変更、悪意あるファイルの実行など、人の一度の判断がトリガーになる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:L)
一部のデータや属性が漏えいしうるが、全件一括流出といった規模には至らない。
完全性への影響 (I:L)
レコードの一部書き換えや設定の歪みなど、限定的だが検知・復旧が必要な水準。
可用性への影響 (A:L)
遅延や一部機能の停止、断続的な障害など、運用で吸収しうる範囲。
0.5 3.4 [email protected]
3.5 3.1 LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:R)
インストールの許可、設定変更、悪意あるファイルの実行など、人の一度の判断がトリガーになる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:L)
一部のデータや属性が漏えいしうるが、全件一括流出といった規模には至らない。
完全性への影響 (I:N)
改ざん・なりすましによる信頼毀損は軽微か、想定されない。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
2.1 1.4 [email protected]

CVE-2023-45143 の弱点分類(列挙)

CVE-2023-45143 の GitHub Security Advisory

GHSA-wqq4-5wpv-mx2g · 深刻度: low · エコシステム: npm — Undici's cookie header not cleared on cross-origin redirect in fetch

CVE-2023-45143 の OS トラッカー

vendor priority summary link
alpine CVE-2023-45143: 3 source package rows (nodejs, nodejs-current, openjdk21); 18 state rows across 13 repos (3.17-main, 3.18-community, 3.18-main, 3.19-community, 3.19-main, 3.20-community, 3.20-main, 3.21-community, 3.21-main, 3.22-community, 3.22-main, edge-community, edge-main); fixed 18, open 0. https://security.alpinelinux.org/vuln/CVE-2023-45143
debian not yet assigned CVE-2023-45143 not yet assigned priority: Debian including 1 source packages (node-undici), 4 status rows across 4 suites (bookworm, forky, sid, trixie): resolved 4. https://security-tracker.debian.org/tracker/CVE-2023-45143
gentoo high CVE-2023-45143: 1 GLSA(s) (202505-11), 1 atom(s) (net-libs/nodejs); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2023-45143
redhat low https://access.redhat.com/security/cve/CVE-2023-45143
suse low CVE-2023-45143 severity low: SUSE including 74 source package names (16-18.13:nodejs16-16.20.2-150400.3.27.2, 16-18.13:npm16-16.20.2-150400.3.27.2, …), 273 product×package rows across 29 product lines (Container bci/node, Container bci/nodejs, … (29 product lines)): Known Not Affected 158, Fixed 115. https://www.suse.com/security/cve/CVE-2023-45143/
ubuntu medium CVE-2023-45143 medium priority: Ubuntu including 1 source packages (node-undici), 12 status rows across 12 suites (bionic, focal, jammy, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 5, not-affected 3, ignored 2, needs-triage 1, released 1. https://ubuntu.com/security/CVE-2023-45143

CVE-2023-45143 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
nodejs undici < 5.26.2 cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:*
fedoraproject fedora 37 cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
fedoraproject fedora 38 cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
fedoraproject fedora 39 cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*

CVE-2023-45143 の参考情報

URL タグ
https://github.com/nodejs/undici/commit/e041de359221ebeae04c469e8aff4145764e6d76 Patch
https://github.com/nodejs/undici/releases/tag/v5.26.2 Release Notes
https://github.com/nodejs/undici/security/advisories/GHSA-q768-x9m6-m9qp Not Applicable
https://github.com/nodejs/undici/security/advisories/GHSA-wqq4-5wpv-mx2g Vendor Advisory
https://hackerone.com/reports/2166948 Permissions Required
https://lists.fedoraproject.org/archives/list/[email protected]/message/3N4NJ7FR4X4FPZUGNTQAPSTVB2HB2Y4A/ Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/[email protected]/message/E72T67UPDRXHIDLO3OROR25YAMN4GGW5/ Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/[email protected]/message/FNA62Q767CFAFHBCDKYNPBMZWB7TWYVU/ Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/[email protected]/message/HT7T2R4MQKLIF4ODV4BDLPARWFPCJ5CZ/ Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/[email protected]/message/LKYHSZQFDNR7RSA7LHVLLIAQMVYCUGBG/ Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/[email protected]/message/X6QXN4ORIVF6XBW4WWFE7VNPVC74S45Y/ Mailing List Third Party Advisory
cvelogic Threat Intelligence