Description (CNA)
Http4s is a Scala interface for HTTP services. Prior to 0.23.35 and 1.0.0-M47, The shared WebSocket decoder permits unbounded message buffering because defragmentation accumulates fragments without a limit and FrameTranscoder accepts declared lengths up to Int.MaxValue. A remote client that completes a WebSocket handshake against an http4s-blaze-server or http4s-ember-server endpoint can exhaust server memory with oversized frames or fragmented messages. The patched decoder applies a configurable 64 MiB default limit to individual frames and defragmented messages through EmberServerBuilder.withMaxWebSocketMessageSize. 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-400, CWE-770
References
- https://github.com/http4s/http4s/security/advisories/GHSA-jrxx-w2m8-5hf5
- https://github.com/http4s/http4s/commit/d578c3c9da6193627d40fa785e612cda7fcd77b3
- 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.