CVE-2025-1948
Eclipse Jetty HTTP/2 client can force the server to allocate a humongous byte buffer that may lead to OoM and subsequently the JVM to exit
Description
Original Report
In Eclipse Jetty versions 12.0.0 to 12.0.16 included, an HTTP/2 client can specify a very large value for the HTTP/2 settings parameter SETTINGS_MAX_HEADER_LIST_SIZE. The Jetty HTTP/2 server does not perform validation on this setting, and tries to allocate a ByteBuffer of the specified capacity to encode HTTP responses, likely resulting in OutOfMemoryError being thrown, or even the JVM process exiting.
Impact
Remote peers can cause the JVM to crash or continuously report OOM.
Patches
12.0.17
Workarounds
No workarounds.
References
https://github.com/jetty/jetty.project/issues/12690
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.eclipse.jetty.http2 » jetty-http2-common | >= 12.0.0, < 12.0.17 | 12.0.17 |
Blast radius
21% of the dependent artifacts (119) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 271 |
| 2 hops | 1,633 |
| 3 hops | 2,695 |
| 4 hops | 2,802 |
| 5 hops | 1,002 |
| 6 hops | 222 |
Most used dependents
- org.jenkins-ci.tools » maven-hpi-plugin1,404 usages
- org.wiremock » wiremock735 usages
- org.neo4j » neo4j269 usages
- org.apache.nifi » nifi-standard-services-api-nar189 usages
- org.eclipse.jetty.http2 » jetty-http2-server157 usages
- io.confluent » kafka-schema-registry148 usages
- org.xwiki.platform » xwiki-platform-test-docker101 usages
- io.trino » trino-plugin-toolkit96 usages
- io.trino » trino-main94 usages
- org.eclipse.jetty.ee10 » jetty-ee10-maven-plugin84 usages
- org.apache.nifi » nifi-standard-shared-nar82 usages
- org.neo4j.app » neo4j-server81 usages
- org.neo4j.community » it-test-support80 usages
- io.airlift » http-client79 usages
- io.trino » trino-testing72 usages
Computed from the dependency graph of build 20261127.1117 (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
| Advisory | NVD CVE-2025-1948 | nvd.nist.gov |
| Package | jetty/jetty.project | github.com |
| Web | jetty/jetty.project advisory GHSA-889j-63jv-qhr8 | github.com |
| Web | jetty/jetty.project issue #12690 | github.com |
| Web | jetty/jetty.project commit c8c2515 | github.com |
| Web | security/cve-assignement/-/issues/56 | gitlab.eclipse.org |
