http4s-blaze-serverでWebSocketの断片化メッセージが無制限に蓄積されサービス停止のおそれ
概要
http4s-blaze-serverでは、WebSocketの断片化されたメッセージの合計サイズと断片数に上限がなく、遠隔から大量のメモリを消費させてJVMがOutOfMemoryErrorで停止するおそれがあります。影響を受けるのは1.0.0-M42より前の1.0.0系および0.23.18より前のバージョンです。修正版の1.0.0-M42と0.23.18へ更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
org.http4s:http4s-blaze-server_2.13 という製品で、CVE-2026-73493 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに OutOfMemoryError のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
不正な操作・情報露出のリスクがあります。重要度は CVSS スコア 7.5/10 です。
対策: org.http4s:http4s-blaze-server_2.13 を 1.0.0-M42 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「org.http4s:http4s-blaze-server_2.13 CVE-2026-73493」を検索してください。
CVE-2026-73493 (org.http4s:http4s-blaze-server_2.13) — CWE-770 / CVSS v3 7.5
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 認証不要 / 被害者操作不要
脆弱箇所: OutOfMemoryError / BlazeServerBuilder / maxWebSocketBufferSize
修正バージョン: 1.0.0-M42 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
org.http4s:http4s-blaze-server_2.13 に 脆弱性 (CWE-770) があります。攻撃者は OutOfMemoryError を経由して脆弱な処理に到達し、認証なしで悪用できます。
org.http4s:http4s-blaze-server_2.13 の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: OutOfMemoryError / BlazeServerBuilder / maxWebSocketBufferSize。
重要度: 重要 (CVSS 7.5/10)。不正な操作・情報露出のリスクがあります。
1.0.0-M42 に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1
影響範囲の特定identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで org.http4s:http4s-blaze-server_2.13 を使っているサービスとバージョンを洗い出す。
-
2
パッチ適用patch
Upgrade org.http4s:http4s-blaze-server_2.13 to 1.0.0-M42ステージング環境で 1.0.0-M42 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
事後検証verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| mavenorg.http4s:http4s-blaze-server_2.13 |
1.0.0-M1 以上 1.0.0-M42 未満→ 1.0.0-M42 |
1.0.0-M42 |
| mavenorg.http4s:http4s-blaze-server_2.12 |
0.23.18 未満→ 0.23.18 |
0.23.18 |
| mavenorg.http4s:http4s-blaze-server_3 |
1.0.0-M1 以上 1.0.0-M42 未満→ 1.0.0-M42 |
1.0.0-M42 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Http4s (http4s-blaze-server) is a minimal, idiomatic Scala interface for HTTP services. Prior to 0.23.18 and 1.0.0-M42, http4s-blaze-server aggregates fragments of an incoming WebSocket message with no limit on total size or fragment count. A client that completes a WebSocket handshake can send an unterminated fragmented message and drive unbounded heap growth in the server JVM, resulting in denial of service through OutOfMemoryError. Any http4s application serving WebSocket routes over BlazeServerBuilder is affected, no non-default configuration is required, and maxWebSocketBufferSize does not bound the aggregate because it bounds only individual frames. A single connection sending continuation frames that never set FIN forces the server to buffer every fragment until the heap is exhausted, terminating the JVM with OutOfMemoryError on the blaze selector thread. Small fragments amplify the cost through per-frame object overhead, so a modest volume of wire bytes is sufficient. This issue is fixed in versions 0.23.18 and 1.0.0-M42.
出典: GitHub Security Advisories (Global) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com