http4s-ember-core_2.12 is vulnerable to Denial of Service (DoS)
75
High Risk
Ember's HTTP/2 server never applies its idle timeout to the socket reads used before a stream exists: checkConnectionPreface blocks on a raw socket.read for the connection preface, and the read loop's readFromSocket blocks the same way once a connection has no open stream. A peer that opens a TCP connection to an Ember listener with HTTP/2 enabled and then sends nothing, or completes the preface and goes silent, holds one of the maxConnections slots indefinitely with no timeout and no log line. Once enough such connections accumulate at the default maxConnections of 1024, the listener stops accepting new connections. The fix wraps both reads in the existing idle timeout and issues a GOAWAY when it expires.
You are affected if you are using a version that falls within the vulnerable range and you run an EmberServer with HTTP/2 enabled.
http4s-ember-core_2.12 is vulnerable to Denial of Service (DoS) in versions 0.21.19 - 0.23.36.
Upgrade the http4s-ember-core_2.12 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.