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)
| Artifact | Affected versions | Fixed 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
57% of the dependent artifacts (4,109) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.apache.spark » spark-sql3,174 usages
- org.apache.kafka » kafka-clients3,135 usages
- org.apache.spark » spark-core2,899 usages
- com.github.tomakehurst » wiremock1,838 usages
- org.apache.kafka » kafka1,450 usages
- com.github.tomakehurst » wiremock-jre81,180 usages
- org.codehaus.mojo » gwt-maven-plugin1,170 usages
- org.apache.kafka » connect-api1,026 usages
- com.google.gwt » gwt-dev1,025 usages
- io.dropwizard » dropwizard-core894 usages
- org.apache.spark » spark-mllib831 usages
- org.wiremock » wiremock733 usages
- org.apache.hive » hive-exec699 usages
- org.apache.spark » spark-streaming670 usages
- org.apache.kafka » connect-transforms659 usages
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.
References
- Webhttps://github.com/jetty/jetty.project/security/advisories/GHSA-7hcf-ppf8-5w5h
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-9823
- Webhttps://github.com/jetty/jetty.project/issues/1256
- Packagehttps://github.com/jetty/jetty.project
- Webhttps://gitlab.eclipse.org/security/cve-assignement/-/issues/39
- Webhttps://lists.debian.org/debian-lts-announce/2025/04/msg00001.html
- Webhttps://security.netapp.com/advisory/ntap-20250306-0006
