Skip to content

CVE-2019-17638 Operation on a Resource after Expiration or Release in Jetty Server

CriticalCVSS 9.4 EPSS 11.1%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

In Eclipse Jetty, versions 9.4.27.v20200227 to 9.4.29.v20200521, in case of too large response headers, Jetty throws an exception to produce an HTTP 431 error. When this happens, the ByteBuffer containing the HTTP response headers is released back to the ByteBufferPool twice. Because of this double release, two threads can acquire the same ByteBuffer from the pool and while thread1 is about to use the ByteBuffer to write response1 data, thread2 fills the ByteBuffer with other data. Thread1 then proceeds to write the buffer that now contains different data. This results in client1, which issued request1 seeing data from another request or response which could contain sensitive data belonging to client2 (HTTP session ids, authentication credentials, etc.). If the Jetty version cannot be upgraded, the vulnerability can be significantly reduced by configuring a responseHeaderSize significantly larger than the requestHeaderSize (12KB responseHeaderSize and 8KB requestHeaderSize).

Affected products

ProductAffected versionsFixed in
org.eclipse.jetty/jetty-server(Maven) >= 9.4.27, <= 9.4.30.v20200610 No fix listed
org.eclipse.jetty/jetty-server(Maven) >= 9.4.27, < 9.4.30.v20200611 9.4.30.v20200611
org.eclipse.jetty/jetty-server(Maven) = 9.4.27.v20200227 No fix listed
org.eclipse.jetty/jetty-server(Maven) = 9.4.28.v20200408 No fix listed
org.eclipse.jetty/jetty-server(Maven) = 9.4.29.v20200521 No fix listed
debian/jetty9(Debian:12) < 9.4.31-1 9.4.31-1
debian/jetty9(Debian:13) < 9.4.31-1 9.4.31-1
debian/jetty9(Debian:14) < 9.4.31-1 9.4.31-1
eclipse jetty = 9.4.27-20200227 No fix listed
eclipse jetty = 9.4.28-20200408 No fix listed
eclipse jetty = 9.4.29-20200521 No fix listed
The Eclipse Foundation Eclipse Jetty = 9.4.27.v20200227 to 9.4.29.v20200521 No fix listed
ubuntu/jetty9(Ubuntu:22.04) < 9.4.45-1 9.4.45-1
ubuntu/jetty9(Ubuntu:22.04) = 9.4.39-3 No fix listed
ubuntu/jetty9(Ubuntu:22.04) = 9.4.44-2 No fix listed
ubuntu/jetty9(Ubuntu:22.04) = 9.4.44-3 No fix listed
ubuntu/jetty9(Ubuntu:22.04) = 9.4.44-4 No fix listed
ubuntu/jetty9(Ubuntu:24.04) < 9.4.53-1 9.4.53-1
ubuntu/jetty9(Ubuntu:24.04) = 9.4.51-2 No fix listed
ubuntu/jetty9(Ubuntu:25.04) < 9.4.56-1 9.4.56-1
ubuntu/jetty9(Ubuntu:25.04) = 9.4.55-1 No fix listed

References