CVE-2024-7708
Eclipse Jetty: DoS attack triggering OutOfMemory with 100-Continue requests
Description
Impact
The original report:
Server handling of 100-Continue requests can lead to memory leak that can be abused to cause a Denial of Service state.
After investigation, turns out that every request that has a body, but reading the body may end up in reading 0 bytes, leaks a buffer. This is particularly the case for 100-Continue, but any request where the network is slow can leak.
Affected Versions
- Jetty 11.0.0-11.0.22 (EOL)
- Jetty 10.0.0-10.0.22 (EOL)
Patched Versions
- Jetty 11.0.23
- Jetty 10.0.23
Patches
https://github.com/jetty/jetty.project/pull/12156
Workarounds
No workarounds.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.eclipse.jetty » jetty-server | >= 10.0.7, < 10.0.23>= 11.0.7, < 11.0.23 | 10.0.23, 11.0.23 |
Blast radius
33% of the dependent artifacts (674) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 6,969 |
| 2 hops | 12,294 |
| 3 hops | 8,298 |
| 4 hops | 3,660 |
| 5 hops | 1,704 |
| 6 hops | 1,201 |
Most used dependents
- org.eclipse.jetty » jetty-servlet2,979 usages
- org.eclipse.jetty » jetty-webapp2,060 usages
- com.github.tomakehurst » wiremock1,838 usages
- org.jenkins-ci.tools » maven-hpi-plugin1,404 usages
- org.eclipse.jetty » jetty-maven-plugin1,337 usages
- io.dropwizard » dropwizard-core894 usages
- org.eclipse.jetty » jetty-security843 usages
- org.wiremock » wiremock733 usages
- org.apache.cxf » cxf-rt-transports-http-jetty513 usages
- ring » ring469 usages
- io.dropwizard » dropwizard-testing463 usages
- org.springframework.boot » spring-boot-starter-jetty458 usages
- org.eclipse.jetty » jetty-plus392 usages
- org.eclipse.jetty » jetty-annotations391 usages
- ring » ring-jetty-adapter371 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-9299-c6m4-mjhc
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-7708
- Webhttps://github.com/jetty/jetty.project/pull/12156
- Webhttps://github.com/jetty/jetty.project/commit/8259eabbc70ae7fc2d525f1e95b43fbdfd2ad097
- Packagehttps://github.com/jetty/jetty.project
- Webhttps://github.com/jetty/jetty.project/releases/tag/jetty-10.0.23
- Webhttps://github.com/jetty/jetty.project/releases/tag/jetty-11.0.23
- Webhttps://gitlab.eclipse.org/security/cve-assignment/-/work_items/29
