CVE-2019-17638

Aliases:GHSA-x3rh-m7vp-35f2
Modified
Published: 09 Jul 2020, 18:10
Last modified:05 Aug 2024, 01:47

Vulnerability Summary

Overall Risk (default)
high
70/100
CVSS Score
9.4 CRITICAL
v3.1 (nvd)
EPSS Score
30.93% HIGH
31% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

09 Jul 2020, 18:10
Published
Vulnerability first disclosed
05 Aug 2024, 01:47
Last Modified
Vulnerability information updated

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).

CVSS Metrics

  • v3.1CRITICALScore: 9.4CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
  • v2.0HIGHScore: 7.5AV:N/AC:L/Au:N/C:P/I:P/A:P

EPSS Trends

Current EPSS score: 30.93% Percentile: 97%

Techniques & Countermeasures

  • CWE-672Operation on a Resource after Expiration or Release

    The product uses, accesses, or otherwise operates on a resource after that resource has been expired, released, or revoked.

  • CWE-675Multiple Operations on Resource in Single-Operation Context

    The product performs the same operation on a resource two or more times, when the operation should only be applied once.

Affected Systems

  • eclipsejetty

    9.4.27:20200227 | 9.4.28:20200408 | 9.4.29:20200521

  • org.eclipse.jettyjetty-server

    ≥ 9.4.27, < 9.4.30.v20200611

  • the eclipse foundationeclipse jetty

    9.4.27.v20200227 to 9.4.29.v20200521

References (34)