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.