← 漏洞与更新

高危漏洞公告Java

http4s WebSocket decoder accepts negative length, causing infinite decode loop

受影响

软件包受影响版本修复版本
maven:org.http4s:http4s-core_2.12< 0.23.350.23.35
maven:org.http4s:http4s-core_2.13< 0.23.350.23.35
maven:org.http4s:http4s-core_3< 0.23.350.23.35
maven:org.http4s:http4s-core_2.13>= 1.0.0-M2, < 1.0.0-M471.0.0-M47
maven:org.http4s:http4s-core_3>= 1.0.0-M2, < 1.0.0-M471.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…

在 GitHub Advisory Database 阅读

2026/12/01 03:08,GitHub Advisory Database 发布了“http4s WebSocket decoder accepts negative length, causing infinite decode loop”(类型:漏洞公告)。严重程度为“高危”(high)。相关技术:Java。CVE:CVE-2026-69210。