Operation on a Resource after Expiration or Release Affecting openshift-hyperkube package, versions <0:4.3.37-202009120213.p0.git.0.dffefe4.el8


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.12% (85th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-OPENSHIFTHYPERKUBE-4400027
  • published1 Nov 2021
  • disclosed3 Jun 2020

Introduced: 3 Jun 2020

CVE-2019-17638  (opens in a new tab)
CWE-672  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade RHEL:8 openshift-hyperkube to version 0:4.3.37-202009120213.p0.git.0.dffefe4.el8 or higher.
This issue was patched in RHSA-2020:3808.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openshift-hyperkube package and not the openshift-hyperkube package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

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

References

CVSS Scores

version 3.1