CVE-2019-17638 Operation on a Resource after Expiration or Release in Jetty Server
- 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
| Product | Affected versions | Fixed 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
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com patch
- bugs.eclipse.org issue-tracking vendor-advisory
- snyk.io
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.fedoraproject.org
- www.oracle.com
- [oss-security] 20200817 Vulnerability in Jenkins mailing-list
- www.oracle.com
- github.com
- Debian Security Tracker CVE-2019-17638 vendor-advisory
- [pulsar-commits] 20200929 [GitHub] [pulsar] sijie commented on issue #8060: CVE-2019-17638 jetty server mailing-list
- [pulsar-commits] 20200912 [GitHub] [pulsar] codelipenghui closed issue #7970: pulsar-client vulnerability CVE-2019-17638 mailing-list
- [pulsar-commits] 20200903 [GitHub] [pulsar] guyv opened a new issue #7970: pulsar-client vulnerability CVE-2019-17638 mailing-list
- [pulsar-commits] 20200911 [GitHub] [pulsar] codelipenghui closed issue #7970: pulsar-client vulnerability CVE-2019-17638 mailing-list
- [pulsar-commits] 20201005 [GitHub] [pulsar] abhishekheaven7 opened a new issue #8203: Pulsar client with version 2.6.1 has critical vulnerability CVE-2019-17638 mailing-list
- [pulsar-commits] 20200922 [GitHub] [pulsar] zymap commented on issue #8060: CVE-2019-17638 jetty server mailing-list
- [pulsar-commits] 20210127 [GitHub] [pulsar] GLouMcK opened a new issue #9347: Security Vulnerabilities - Black Duck Scan mailing-list
- [pulsar-commits] 20200923 [GitHub] [pulsar] zymap commented on issue #8060: CVE-2019-17638 jetty server mailing-list
- [pulsar-commits] 20200914 [GitHub] [pulsar] klwilson227 opened a new issue #8060: CVE-2019-17638 jetty server mailing-list
- [pulsar-commits] 20200929 [GitHub] [pulsar] sijie closed issue #8060: CVE-2019-17638 jetty server mailing-list
- [pulsar-commits] 20201215 [GitHub] [pulsar] yanshuchong opened a new issue #8967: CVSS issue list mailing-list
- [pulsar-commits] 20201005 [GitHub] [pulsar] abhishekheaven7 closed issue #8203: Pulsar client with version 2.6.1 has critical vulnerability CVE-2019-17638 mailing-list
- FEDORA-2020-cf8ef2f333 vendor-advisory
- ubuntu.com issue-tracking
- www.cve.org issue-tracking