http4s-core_2.12 is vulnerable to Denial of Service (DoS)
75
High Risk
The WebSocket frame defragmenter reassembles fragmented messages but only caps the accumulated byte size, never the number of fragments, and re-folds every previously buffered fragment each time a new one arrives. A peer that streams many zero length continuation frames (roughly 600 KB of wire data, about 100,000 empty frames) drives quadratic work over the growing fragment buffer, pinning a service thread and exhausting CPU. The fix caps the fragment count with a TooManyFragments limit and stops re-processing already buffered fragments.
You are affected if you are using a version that falls within the vulnerable range and your service accepts WebSocket connections.
http4s-core_2.12 is vulnerable to Denial of Service (DoS) in versions 0.23.20 - 0.23.36.
Upgrade the org.http4s:http4s-core_2.12 and/or org.http4s:http4s-core_2.13 library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.