GO-2023-1495
Request smuggling due to improper request handling in golang.org/x/net/http2/h2c
At a glance
- Published
- Updated
- CVE
- CVE-2022-41721
- Aliases
- GHSA-fxg5-wq6x-vr4w
Description
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.
Affected packages
| Package | Versions |
|---|---|
| Go · golang.org/x/net | introduced 0.0.0-20220524220425-1d687d428aca, fixed 0.1.1-0.20221104162952-702349b0e862 |
References
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |