Intel

AIKIDO-2026-578713

http4s-ember-core_2.12 is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)GHSA-3jm4-mm2v-96qj Published 2 days ago

75

High Risk

This Affects:

JAVAhttp4s-ember-core_2.12
0.21.19 - 0.23.36
Fixed in 0.23.37
Are you affected? Scan for Free

TL;DR

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.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run an EmberServer with HTTP/2 enabled.

Background info

http4s-ember-core_2.12 is vulnerable to Denial of Service (DoS) in versions 0.21.19 - 0.23.36.

How to fix this

Upgrade the http4s-ember-core_2.12 library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform