CVE-2022-41721
CVE-2022-41721 · Request smuggling due to improper request handling in golang.org/x/net/http2/h2c
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 7.5 · High · EPSS 1.8% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
golang.org/x/net/http2/h2c
- Versions
- ≥ 0.0.0-20220524220425-1d687d428aca, < 0.1.1-0.20221104162952-702349b0e862: Affected (semver)
Update to 0.1.1-0.20221104162952-702349b0e862
golang-golang-x-net Debian:12
- Affected ranges
- ECOSYSTEM: < 1:0.4.0+dfsg-1
Update to 1:0.4.0+dfsg-1
golang-golang-x-net Debian:13
- Affected ranges
- ECOSYSTEM: < 1:0.4.0+dfsg-1
Update to 1:0.4.0+dfsg-1
golang-golang-x-net Debian:14
- Affected ranges
- ECOSYSTEM: < 1:0.4.0+dfsg-1
Update to 1:0.4.0+dfsg-1
Original sources
- https://go.dev/issue/56352
- https://go.dev/cl/447396
- https://pkg.go.dev/vuln/GO-2023-1495
- https://lists.fedoraproject.org/archives/list/[email protected]/message/X3H3EWQXM2XL5AGBX6UL443JEJ3GQXJN/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/X5DXTLLWN6HKI5I35EUZRBISTNZJ75GP/
- https://nvd.nist.gov/vuln/detail/CVE-2022-41721