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)
| Artifact | Affected versions | Fixed 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
57% of the dependent artifacts (8,115) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.apache.maven.plugins » maven-site-plugin9,107 usages
- org.apache.hadoop » hadoop-common3,482 usages
- org.apache.spark » spark-sql3,174 usages
- org.eclipse.jetty » jetty-servlet2,979 usages
- org.apache.spark » spark-core2,899 usages
- org.eclipse.jetty » jetty-webapp2,060 usages
- com.github.tomakehurst » wiremock1,838 usages
- org.apache.hadoop » hadoop-client1,796 usages
- org.apache.kafka » kafka1,450 usages
- org.jenkins-ci.tools » maven-hpi-plugin1,404 usages
- org.apache.hadoop » hadoop-hdfs1,377 usages
- org.apache.hadoop » hadoop-mapreduce-client-core1,366 usages
- org.eclipse.jetty » jetty-maven-plugin1,337 usages
- com.github.tomakehurst » wiremock-jre81,180 usages
- org.codehaus.mojo » gwt-maven-plugin1,170 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-g8m5-722r-8whq
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-8184
- Webhttps://github.com/jetty/jetty.project/pull/11723
- Packagehttps://github.com/jetty/jetty.project
- Webhttps://gitlab.eclipse.org/security/cve-assignement/-/issues/30
- Webhttps://lists.debian.org/debian-lts-announce/2025/04/msg00001.html
