Description (CNA)
Http4s is a Scala interface for HTTP services. Prior to 0.23.35 and 1.0.0-M47, WebSocket FrameTranscoder.bodyLength rejects extended payload lengths above Integer.MAX_VALUE but permits negative 64-bit lengths. A remote client that completes a WebSocket handshake through an Ember server can send such a frame, causing the decoder to return an empty frame without advancing its input. The decode loop then runs indefinitely, pins a worker at full CPU, and grows an ArrayBuffer without bound, resulting in denial of service. This issue is fixed in versions 0.23.35 and 1.0.0-M47.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| http4s / http4s | affected < 0.23.35; affected >= 1.0.0-M1, < 1.0.0-M47 |
CWE
CWE-835, CWE-1284
References
- https://github.com/http4s/http4s/security/advisories/GHSA-3j86-pj9g-jchr
- https://github.com/http4s/http4s/commit/c7d3ef90dc2ed1cd464968ab1b34f2f1762ddae2
- https://github.com/http4s/http4s/releases/tag/v0.23.35
- https://github.com/http4s/http4s/releases/tag/v1.0.0-M47
ADP enrichment
No English description supplied.
No references supplied.