VYPR
High severityNVD Advisory· Published May 8, 2025· Updated May 8, 2025

Eclipse Jetty HTTP clients can increase memory allocation

CVE-2025-1948

Description

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.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
org.eclipse.jetty.http2:jetty-http2-commonMaven
>= 12.0.0, < 12.0.1712.0.17

Affected products

1

Patches

1
c8c2515936ef

#12690 fix test

https://github.com/jetty/jetty.projectLudovic OrbanJan 10, 2025via ghsa
1 file changed · +1 0
  • jetty-core/jetty-http2/jetty-http2-tests/src/test/java/org/eclipse/jetty/http2/tests/HTTP2Test.java+1 0 modified
    @@ -1315,6 +1315,7 @@ public boolean handle(Request request, Response response, Callback callback)
             }, httpConfig);
             connector.getBean(AbstractHTTP2ServerConnectionFactory.class).setMaxFrameSize(17 * 1024);
             http2Client.setMaxFrameSize(18 * 1024);
    +        http2Client.setMaxRequestHeadersSize(2 * maxHeadersSize);
     
             // Wait for the SETTINGS frame to be exchanged.
             CountDownLatch settingsLatch = new CountDownLatch(1);
    

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

6

News mentions

0

No linked articles in our index yet.