CVE-2023-36478: HTTP/2 HPACK integer overflow and buffer allocation
Vulnerability summary
CVE-2023-36478 is a high (CVSS 7.5) Integer Overflow or Wraparound vulnerability in debian debian_linux. EPSS estimates a 4.83% chance of exploitation in the next 30 days, higher than 92% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 1Timeline
- 10-10-2023PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · MavenEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
4.83%
Chance of exploitation in the next 30 days
Percentile
92%
Versus all other CVEs
30-day change
Increase +1.08 pp
From 3.75% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundJetty.Project
Maturity: poc
Weaknesses
CWE · root cause- CWE-190Integer Overflow or WraparoundThe product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- jetty9< 9.4.50-4+deb12u2 | < 9.4.53-1
- debian_linuxEOL10.0 | 11.0 | 12.0
Eclipse2 products
- jetty≥ 9.3.0, < 9.4.53 | ≥ 10.0.0, < 10.0.16 | ≥ 11.0.0, < 11.0.16
- jetty.project≥ 10.0.0, < 10.0.16 | ≥ 11.0.0, < 11.0.16 | ≥ 9.3.0, < 9.4.53
Alpine1 product
- jetty-runner< 9.4.53.20231009-r0
Jenkins1 product
- jenkins< 2.414.3 | < 2.428
Org.eclipse.jetty.http21 product
- http2-hpack≥ 10.0.0, < 10.0.16 | ≥ 11.0.0, < 11.0.16 | ≥ 9.3.0, < 9.4.53
Org.eclipse.jetty.http31 product
- http3-qpack≥ 10.0.0, < 10.0.16 | ≥ 11.0.0, < 11.0.16
Ubuntu1 product
- jettyAll versions (No fix recorded)
7 vendors · 9 products
References
19 links- github.com/eclipse/jetty.project/security/advisories/GHSA-wgh7-54f2-x98rX Refsource CONFIRMREPORTWEBExploitVendor Advisory
- github.com/eclipse/jetty.project/releases/tag/jetty-9.4.53.v20231009X Refsource MISCREPORTWEBRelease Notes
- security.netapp.com/advisory/ntap-20231116-0011/Third Party Advisory