CVE-2019-17638
Operation on a Resource after Expiration or Release in Jetty Server
Reported by eclipse · Published July 9, 2020
jetty-server is fixed in 9.4.30.v20200611 and 9.4.30.v20200610 (Maven Central)
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).
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.eclipse.jetty:jetty-server | Maven Central | 9.4.30.v20200611, 9.4.30.v20200610 |
| jetty9 | Ubuntu:22.04:LTS | 9.4.45-1 |
| jetty9 | Ubuntu:25.04 | 9.4.56-1 |
| jetty9 | Ubuntu:24.04:LTS | 9.4.53-1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| The Eclipse Foundation | Eclipse Jetty | 9.4.27.v20200227 to 9.4.29.v20200521 |
| Maven | org.eclipse.jetty:jetty-server | 9.4.27 |
| The Eclipse Foundation | Eclipse Jetty | 9.4.27.v20200227 |
Timeline
- Jul 9, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Mar 17, 2026 Security Advisory
- Sep 13, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-17638
vulnetix vdb fixes CVE-2019-17638
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-17638/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- [oss-security] 20200817 Vulnerability in Jenkins mailing-listx_refsource_MLIST
- FEDORA-2020-cf8ef2f333 vendor-advisoryx_refsource_FEDORA
- [pulsar-commits] 20200903 [GitHub] [pulsar] guyv opened a new issue #7970: pulsar-client vulnerability CVE-2019-17638 mailing-listx_refsource_MLIST
- [pulsar-commits] 20200911 [GitHub] [pulsar] codelipenghui closed issue #7970: pulsar-client vulnerability CVE-2019-17638 mailing-listx_refsource_MLIST
- [pulsar-commits] 20200912 [GitHub] [pulsar] codelipenghui closed issue #7970: pulsar-client vulnerability CVE-2019-17638 mailing-listx_refsource_MLIST
- [pulsar-commits] 20200914 [GitHub] [pulsar] klwilson227 opened a new issue #8060: CVE-2019-17638 jetty server mailing-listx_refsource_MLIST
- [pulsar-commits] 20200922 [GitHub] [pulsar] zymap commented on issue #8060: CVE-2019-17638 jetty server mailing-listx_refsource_MLIST
- [pulsar-commits] 20200923 [GitHub] [pulsar] zymap commented on issue #8060: CVE-2019-17638 jetty server mailing-listx_refsource_MLIST
- [pulsar-commits] 20200929 [GitHub] [pulsar] sijie closed issue #8060: CVE-2019-17638 jetty server mailing-listx_refsource_MLIST
- [pulsar-commits] 20200929 [GitHub] [pulsar] sijie commented on issue #8060: CVE-2019-17638 jetty server mailing-listx_refsource_MLIST
- [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-listx_refsource_MLIST
- [pulsar-commits] 20201005 [GitHub] [pulsar] abhishekheaven7 closed issue #8203: Pulsar client with version 2.6.1 has critical vulnerability CVE-2019-17638 mailing-listx_refsource_MLIST
- x_refsource_MISC
- [pulsar-commits] 20201215 [GitHub] [pulsar] yanshuchong opened a new issue #8967: CVSS issue list mailing-listx_refsource_MLIST
- [pulsar-commits] 20210127 [GitHub] [pulsar] GLouMcK opened a new issue #9347: Security Vulnerabilities - Black Duck Scan mailing-listx_refsource_MLIST
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2019-17638 advisory
- https://github.com/eclipse/jetty.project/issues/4936 url
- https://github.com/eclipse/jetty.project/commit/ff8ae56fa939c3477a0cdd1ff56ce3d902f08fba patch
…and 15 more