http4s WebSocket decoder accepts negative length, causing infinite decode loop
影響
| パッケージ | 影響する版 | 修正版 |
|---|---|---|
| maven:org.http4s:http4s-core_2.12 | < 0.23.35 | 0.23.35 |
| maven:org.http4s:http4s-core_2.13 | < 0.23.35 | 0.23.35 |
| maven:org.http4s:http4s-core_3 | < 0.23.35 | 0.23.35 |
| maven:org.http4s:http4s-core_2.13 | >= 1.0.0-M2, < 1.0.0-M47 | 1.0.0-M47 |
| maven:org.http4s:http4s-core_3 | >= 1.0.0-M2, < 1.0.0-M47 | 1.0.0-M47 |
WebSocket's FrameTranscoder.bodyLength reads a 64-bit extended payload length and rejects only values greater than Integer.MAX_VALUE. A negative length passes validation. This makes the decoder return an empty frame without advancing the buffer, and drives the decode loop into an uninterruptible infinite loop. This pins a CPU and grows an ArrayBuffer unbounded. The defective transcoder is in http4s-core, but the denial of service manifests with http4s-ember-server. Impact A single frame can pin…
重大な脆弱性・障害の速報を X で受け取る悪用・大規模な漏洩・障害を、対処法と一緒に。
@vulnpulse_app をフォロー2026/12/01 03:08、GitHub Advisory Databaseが「http4s WebSocket decoder accepts negative length, causing infinite decode loop」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「重要」(high) です。関連する技術: Java。CVE: CVE-2026-69210。