MODERATE 5.9

CVE-2024-8184

Eclipse Jetty's ThreadLimitHandler.getRemote() vulnerable to remote DoS attacks

Description

Impact

Remote DOS attack can cause out of memory

Description

There exists a security vulnerability in Jetty's ThreadLimitHandler.getRemote() which can be exploited by unauthorized users to cause remote denial-of-service (DoS) attack. By repeatedly sending crafted requests, attackers can trigger OutofMemory errors and exhaust the server's memory.

Affected Versions

  • Jetty 12.0.0-12.0.8 (Supported)
  • Jetty 11.0.0-11.0.23 (EOL)
  • Jetty 10.0.0-10.0.23 (EOL)
  • Jetty 9.3.12-9.4.55 (EOL)

Patched Versions

  • Jetty 12.0.9
  • Jetty 11.0.24
  • Jetty 10.0.24
  • Jetty 9.4.56

Workarounds

Do not use ThreadLimitHandler.
Consider use of QoSHandler instead to artificially limit resource utilization.

References

Jetty 12 - https://github.com/jetty/jetty.project/pull/11723

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.eclipse.jetty » jetty-server
>= 9.3.12, < 9.4.56>= 10.0.0, < 10.0.24>= 11.0.0, < 11.0.24>= 12.0.0, < 12.0.9
9.4.56, 10.0.24, 11.0.24, 12.0.9

Blast radius

1affected artifacts
195affected versions
14,047dependent artifacts (est.)
975,101dependent versions

57% of the dependent artifacts (8,115) still pull an affected version in their latest release.

DepthDependent versions
Direct
90,919
2 hops
293,016
3 hops
273,719
4 hops
149,536
5 hops
132,660
6 hops
35,251

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.