HIGH 7.5

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)

ArtifactAffected versionsFixed in
org.eclipse.jetty.http2 » jetty-http2-common
>= 12.0.0, < 12.0.17
12.0.17

Blast radius

1affected artifacts
22affected versions
559dependent artifacts (est.)
8,625dependent versions

21% of the dependent artifacts (119) still pull an affected version in their latest release.

DepthDependent 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

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.