Miggo Logo

CVE-2023-36478: HTTP/2 HPACK integer overflow and buffer allocation

7.5

CVSS Score
3.1

Basic Information

EPSS Score
0.80223%
Published
10/10/2023
Updated
6/21/2024
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.eclipse.jetty.http2:http2-hpackmaven>= 10.0.0, <= 10.0.1510.0.16
org.eclipse.jetty.http2:http2-hpackmaven>= 11.0.0, <= 11.0.1511.0.16
org.eclipse.jetty.http3:http3-qpackmaven>= 10.0.0, <= 10.0.1510.0.16
org.eclipse.jetty.http3:http3-qpackmaven>= 11.0.0, <= 11.0.1511.0.16
org.eclipse.jetty.http2:http2-hpackmaven>= 9.3.0, <= 9.4.529.4.53

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from two key functions: 1) MetaDataBuilder.checkSize's integer overflow in Huffman size calculation allows bypassing header size limits, and 2) Huffman.decode's unsafe buffer allocation using the corrupted length value. Both are directly referenced in exploit scenarios and code analysis showing missing overflow checks and unsafe arithmetic operations.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

*n int***r ov*r*low in `M*t***t**uil**r.****kSiz*` *llows *or *TTP/* *P**K *****r v*lu*s to *x**** t**ir siz* limit. In `M*t***t**uil**r.j*v*`, t** *ollowin* *o** **t*rmin*s i* * *****r n*m* or v*lu* *x****s t** siz* limit, *n* t*rows *n *x**ption

Reasoning

T** vuln*r**ility st*ms *rom two k*y *un*tions: *) M*t***t**uil**r.****kSiz*'s int***r ov*r*low in *u**m*n siz* **l*ul*tion *llows *yp*ssin* *****r siz* limits, *n* *) *u**m*n.***o**'s uns*** *u***r *llo**tion usin* t** *orrupt** l*n*t* v*lu*. *ot* *