CVE-2019-17638CWE-672CWE-675

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

published July 9, 2020

CVSS
EPSS
11%
Percentile
95.6
In the wild
Unconfirmed
What it is

⚠️ A double dose of ByteBuffer chaos! In Jetty, response headers can spill the beans on what shouldn’t be shared, leaving client data vulnerable to mix-ups. 🔥 Think of it like a crowded restaurant where two waiters are trying to serve food from the same table. If they both assume they have the same dish to deliver, one might accidentally serve someone else's meal, potentially revealing a secret recipe or two! An attacker could exploit this oversight to serve sensitive data from one client to another—imagine a user seeing someone else's session IDs or authentication credentials, which could lead to unauthorized access. It's a surprisingly sneaky way to leak sensitive information, and it could be devastating for your users!

Put simply

Think of it like a crowded restaurant where two waiters are trying to serve food from the same table. If they both assume they have the same dish to deliver, one might accidentally serve someone else's meal, potentially revealing a secret recipe or two! This vulnerability arises from a double release of a ByteBuffer in Jetty, allowing concurrent threads to overwrite data in the same buffer, leading to unintended data exposure between requests.

What to do

An attacker could exploit this oversight to serve sensitive data from one client to another—imagine a user seeing someone else's session IDs or authentication credentials, which could lead to unauthorized access. It's a surprisingly sneaky way to leak sensitive information, and it could be devastating for your users! To tackle this issue, upgrade Jetty to version 9.4.30.v20200611 or later. If upgrading isn't feasible, consider configuring your responseHeaderSize to be significantly larger than requestHeaderSize, such as setting it to 12KB for responses and 8KB for requests. You’ve got this! With these steps, you can ensure your application stays secure and your users remain protected. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.11138 · 95.6th percentile
Weaknesses
CWE-672 · Operation on a Resource after Expiration or Release; CWE-675 · Multiple Operations on Resource in Single-Operation Context
Published
2020-07-09T18:10Z
EPSS history
Timeline
  • 09 JUL 18:10Z
    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
    cvelistv5