Vulnerability in Golang H2c
CVE-2022-41721
A request smuggling attack is possible when using MaxBytesHandler. When using MaxBytesHandler, the body of an HTTP request is not fully consumed. When the server attempts to read HTTP2 frames from the connection, it will instead be reading the body of the HTTP request, which could be attacker-manipulated to represent arbitrary HTTP2 requests.
Vulnerability class: HTTP Request Smuggling
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.019, 79.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Golang H2c
- Golang.org/x/net Golang.org/x/net/http2/h2c — versions 0.0.0-20220524220425-1d687d428aca
Weakness classification (CWE)
References
- go.dev/issue/56352 (Exploit, Patch, Issue Tracking, Vendor Advisory)
- go.dev/cl/447396 (Patch, Vendor Advisory)
- pkg.go.dev/vuln/GO-2023-1495 (Vendor Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…