CVE-2021-39185 | Default CORS config allows any origin with credentials

Http4s is a minimal, idiomatic Scala interface for HTTP services. In http4s versions 0.21.26 and prior, 0.22.0 through 0.22.2, 0.23.0, 0.23.1, and 1.0.0-M1 through 1.0.0-M24, the default CORS configuration is vulnerable to an origin reflection attack. The middleware is also susceptible to a Null Origin Attack. The problem is fixed in 0.21.27, 0.22.3, 0.23.2, and 1.0.0-M25. The original `CORS` implementation and `CORSConfig` are deprecated. See the GitHub GHSA for more information, including code examples and workarounds.

公開: 2021-09-01 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2021-39185 は中リスク(51.7/100)。CVSS 深刻度は重大。悪用される可能性が高い(EPSS 0.57%、43 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。

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

CVE-2021-39185 の EPSS(Exploit Prediction Scoring System)スコア

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

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.17% 0.57% +0.41%
2 2025-11-21 0.14% 0.17% +0.03%
3 2025-11-18 0.14%

EPSS の全履歴 (全 11 件)

CVE-2021-39185 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
9.1 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
3.9 5.2 [email protected]
6.4 2.0 MEDIUM
AV:N/AC:L/Au:N/C:P/I:P/A:N クリックして展開
アクセス経路 (AV:N)
ルーティング可能なネットワーク越しに、遠隔から到達・悪用しうる。
アクセスの複雑さ (AC:L)
手順が短く、再現性が高い。
認証 (AU:N)
認証を経ずに攻撃を完結できる。
機密性への影響 (C:P)
機密性は部分的に損なわれる。
完全性への影響 (I:P)
完全性は部分的に損なわれる。
可用性への影響 (A:N)
可用性は損なわれない。
10.0 4.9 [email protected]

CVE-2021-39185 の弱点分類(列挙)

CVE-2021-39185 の GitHub Security Advisory

GHSA-52cf-226f-rhr6 · 深刻度: critical · エコシステム: maven — Default CORS config allows any origin with credentials

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

ベンダー 製品 バージョン 生の CPE
typelevel http4s <= 0.21.26 cpe:2.3:a:typelevel:http4s:*:*:*:*:*:*:*:*
typelevel http4s >= 0.22.0, <= 0.22.2 cpe:2.3:a:typelevel:http4s:*:*:*:*:*:*:*:*
typelevel http4s 0.23.0 cpe:2.3:a:typelevel:http4s:0.23.0:*:*:*:*:*:*:*
typelevel http4s 0.23.1 cpe:2.3:a:typelevel:http4s:0.23.1:*:*:*:*:*:*:*
typelevel http4s 1.0.0 cpe:2.3:a:typelevel:http4s:1.0.0:milestone1:*:*:*:*:*:*
typelevel http4s 1.0.0 cpe:2.3:a:typelevel:http4s:1.0.0:milestone10:*:*:*:*:*:*
typelevel http4s 1.0.0 cpe:2.3:a:typelevel:http4s:1.0.0:milestone11:*:*:*:*:*:*
typelevel http4s 1.0.0 cpe:2.3:a:typelevel:http4s:1.0.0:milestone12:*:*:*:*:*:*
typelevel http4s 1.0.0 cpe:2.3:a:typelevel:http4s:1.0.0:milestone13:*:*:*:*:*:*
typelevel http4s 1.0.0 cpe:2.3:a:typelevel:http4s:1.0.0:milestone14:*:*:*:*:*:*
typelevel http4s 1.0.0 cpe:2.3:a:typelevel:http4s:1.0.0:milestone15:*:*:*:*:*:*
typelevel http4s 1.0.0 cpe:2.3:a:typelevel:http4s:1.0.0:milestone16:*:*:*:*:*:*
typelevel http4s 1.0.0 cpe:2.3:a:typelevel:http4s:1.0.0:milestone17:*:*:*:*:*:*
typelevel http4s 1.0.0 cpe:2.3:a:typelevel:http4s:1.0.0:milestone18:*:*:*:*:*:*
typelevel http4s 1.0.0 cpe:2.3:a:typelevel:http4s:1.0.0:milestone19:*:*:*:*:*:*
typelevel http4s 1.0.0 cpe:2.3:a:typelevel:http4s:1.0.0:milestone2:*:*:*:*:*:*
typelevel http4s 1.0.0 cpe:2.3:a:typelevel:http4s:1.0.0:milestone20:*:*:*:*:*:*
typelevel http4s 1.0.0 cpe:2.3:a:typelevel:http4s:1.0.0:milestone21:*:*:*:*:*:*
typelevel http4s 1.0.0 cpe:2.3:a:typelevel:http4s:1.0.0:milestone22:*:*:*:*:*:*
typelevel http4s 1.0.0 cpe:2.3:a:typelevel:http4s:1.0.0:milestone23:*:*:*:*:*:*
typelevel http4s 1.0.0 cpe:2.3:a:typelevel:http4s:1.0.0:milestone24:*:*:*:*:*:*
typelevel http4s 1.0.0 cpe:2.3:a:typelevel:http4s:1.0.0:milestone3:*:*:*:*:*:*
typelevel http4s 1.0.0 cpe:2.3:a:typelevel:http4s:1.0.0:milestone4:*:*:*:*:*:*
typelevel http4s 1.0.0 cpe:2.3:a:typelevel:http4s:1.0.0:milestone5:*:*:*:*:*:*
typelevel http4s 1.0.0 cpe:2.3:a:typelevel:http4s:1.0.0:milestone6:*:*:*:*:*:*
typelevel http4s 1.0.0 cpe:2.3:a:typelevel:http4s:1.0.0:milestone7:*:*:*:*:*:*
typelevel http4s 1.0.0 cpe:2.3:a:typelevel:http4s:1.0.0:milestone8:*:*:*:*:*:*
typelevel http4s 1.0.0 cpe:2.3:a:typelevel:http4s:1.0.0:milestone9:*:*:*:*:*:*

CVE-2021-39185 の参考情報

cvelogic Threat Intelligence