MODERATE 5.3

CVE-2024-9823

Eclipse Jetty has a denial of service vulnerability on DosFilter

Description

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

Vulnerability details The Jetty DoSFilter (Denial of Service Filter) is a security filter designed to protect web applications against certain types of Denial of Service (DoS) attacks and other abusive behavior. It helps to mitigate excessive resource consumption by limiting the rate at which clients can make requests to the server. The DoSFilter monitors and tracks client request patterns, including request rates, and can take actions such as blocking or delaying requests from clients that exceed predefined thresholds. The internal tracking of requests in DoSFilter is the source of this OutOfMemory condition.

Impact Users of the DoSFilter may be subject to DoS attacks that will ultimately exhaust the memory of the server if they have not configured session passivation or an aggressive session inactivation timeout.

Patches The DoSFilter has been patched in all active releases to no longer support the session tracking mode, even if configured.

Patched releases:

  • 9.4.54
  • 10.0.18
  • 11.0.18
  • 12.0.3

Affected Maven artifacts (4)

ArtifactAffected versionsFixed in
org.eclipse.jetty » jetty-servlets
>= 9.0.0, < 9.4.54>= 10.0.0, < 10.0.18>= 11.0.0, < 11.0.18
9.4.54, 10.0.18, 11.0.18
org.eclipse.jetty.ee10 » jetty-ee10-servlets
>= 12.0.0, < 12.0.3
12.0.3
org.eclipse.jetty.ee8 » jetty-ee8-servlets
>= 12.0.0, < 12.0.3
12.0.3
org.eclipse.jetty.ee9 » jetty-ee9-servlets
>= 12.0.0, < 12.0.3
12.0.3

Blast radius

4affected artifacts
247affected versions
7,103dependent artifacts (est.)
493,396dependent versions

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

DepthDependent versions
Direct
50,449
2 hops
146,322
3 hops
159,311
4 hops
81,396
5 hops
29,383
6 hops
26,535

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.