Description
Eclipse Jetty provides a web server and servlet container. In versions 11.0.0 through 11.0.15, 10.0.0 through 10.0.15, and 9.0.0 through 9.4.52, an integer overflow in `MetaDataBuilder.checkSize` allows for HTTP/2 HPACK header values to
exceed their size limit. `MetaDataBuilder.java` determines if a header name or value exceeds the size limit, and throws an exception if the limit is exceeded. However, when length is very large and huffman is true, the multiplication by 4 in line 295
will overflow, and length will become negative. `(_size+length)` will now be negative, and the check on line 296 will not be triggered. Furthermore, `MetaDataBuilder.checkSize` allows for user-entered HPACK header value sizes to be negative, potentially leading to a very large buffer allocation later on when the user-entered size is multiplied by 2. This means that if a user provides a negative length value (or, more precisely, a length value which, when multiplied by the 4/3 fudge factor, is negative), and this length value is a very large positive number when multiplied by 2, then the user can cause a very large buffer to be allocated on the server. Users of HTTP/2 can be impacted by a remote denial of service attack. The issue has been fixed in versions 11.0.16, 10.0.16, and 9.4.53. There are no known workarounds.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| eclipse | jetty.project | >= 10.0.0, < 10.0.16, >= 11.0.0, < 11.0.16, >= 9.3.0, < 9.4.53 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | jetty9 | 9.4.53-1 | — |
| Debian 13 | jetty9 | 9.4.53-1 | — |
| Debian 12 | jetty9 | 9.4.50-4+deb12u2 | DSA-5540-1 |
| Debian 11 | jetty9 | 9.4.50-4+deb11u1 | DSA-5540-1 |
| Debian 10 | jetty9 | 9.4.50-4+deb10u1 | DLA-3641-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | jetty | No fix yet | — |
| Ubuntu 14.04 LTS | jetty | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | jetty-minimal | 9.4.53-150200.3.22.1 | SUSE-SU-2023:4210-1 |
| SLES 15 SP4 | jetty-minimal | 9.4.53-150200.3.22.1 | SUSE-SU-2023:4210-1 |
| SLES 15 SP3 | jetty-minimal | 9.4.53-150200.3.22.1 | SUSE-SU-2023:4210-1 |
| SLES 15 SP2 | jetty-minimal | 9.4.53-150200.3.22.1 | SUSE-SU-2023:4210-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP3 | jetty-minimal | 9.4.53-150200.3.22.1 | SUSE-SU-2023:4210-1 |
| SLES for SAP 15 SP2 | jetty-minimal | 9.4.53-150200.3.22.1 | SUSE-SU-2023:4210-1 |
| SLE HPC 15 SP3 | jetty-minimal | 9.4.53-150200.3.22.1 | SUSE-SU-2023:4210-1 |
| SLE HPC 15 SP2 | jetty-minimal | 9.4.53-150200.3.22.1 | SUSE-SU-2023:4210-1 |
| SUSE Enterprise Storage 7.1 | jetty-minimal | 9.4.53-150200.3.22.1 | SUSE-SU-2023:4210-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.5 | jetty-minimal | 9.4.53-150200.3.22.1 | SUSE-SU-2023:4210-1 |
| openSUSE Leap 15.4 | jetty-minimal | 9.4.53-150200.3.22.1 | SUSE-SU-2023:4210-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | jetty-runner | 9.4.53.20231009-r0 | — |
| Alpine v3.23 | jetty-runner | 9.4.53.20231009-r0 | — |
| Alpine v3.22 | jetty-runner | 9.4.53.20231009-r0 | — |
| Alpine v3.21 | jetty-runner | 9.4.53.20231009-r0 | — |
| Alpine v3.20 | jetty-runner | 9.4.53.20231009-r0 | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | jetty-runner | 9.4.53.20231009-r0 | — |
| Alpine v3.18 | jetty-runner | 9.4.53.20231009-r0 | — |
| Alpine v3.17 | jetty-runner | 9.4.53.20231009-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.eclipse.jetty.http2:http2-hpack | >= 10.0.0, < 10.0.16 | 10.0.16 | GHSA-wgh7-54f2-x98r |
| Maven | org.eclipse.jetty.http2:http2-hpack | >= 11.0.0, < 11.0.16 | 11.0.16 | GHSA-wgh7-54f2-x98r |
| Maven | org.eclipse.jetty.http2:http2-hpack | >= 9.3.0, < 9.4.53 | 9.4.53 | GHSA-wgh7-54f2-x98r |
| Maven | org.eclipse.jetty.http3:http3-qpack | >= 10.0.0, < 10.0.16 | 10.0.16 | GHSA-wgh7-54f2-x98r |
| Maven | org.eclipse.jetty.http3:http3-qpack | >= 11.0.0, < 11.0.16 | 11.0.16 | GHSA-wgh7-54f2-x98r |
Advisories 10
- WID-SEC-2023-2627 Eclipse Jetty: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Jul 5, 2026
- WID-SEC-2024-1637 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 1, 2026
- DSA-5540-1 jetty9 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3641-1 jetty9 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2023:4210-1 Security update for jetty-minimal SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-3684 IBM QRadar SIEM: Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 11, 2024
- NCSC-2024-0298 Kwetsbaarheden verholpen in Oracle Fusion Middleware NCSC-NL (Netherlands) · Jul 17, 2024
- WID-SEC-2024-0101 Atlassian Bitbucket: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 20, 2024
- WID-SEC-2024-0106 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 16, 2024
- WID-SEC-2024-0094 Atlassian Bamboo: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 15, 2024
References
- https://github.com/eclipse/jetty.project/security/advisories/GHSA-wgh7-54f2-x98r
- https://github.com/eclipse/jetty.project/pull/9634
- https://github.com/eclipse/jetty.project/releases/tag/jetty-10.0.16
- https://github.com/eclipse/jetty.project/releases/tag/jetty-11.0.16
- https://github.com/eclipse/jetty.project/releases/tag/jetty-9.4.53.v20231009
- http://www.openwall.com/lists/oss-security/2023/10/18/4
- https://lists.debian.org/debian-lts-announce/2023/10/msg00045.html
- https://www.debian.org/security/2023/dsa-5540
- https://security.netapp.com/advisory/ntap-20231116-0011/
- https://security.netapp.com/advisory/ntap-20240621-0006/