CVE-2022-41721

published 13 Jan 2023 · updated 4 Apr 2025

Request smuggling due to improper request handling in golang.org/x/net/http2/h2c

7.5HighCVSS 7.5EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 0.1.1-0.20221104162952-702349b0e862.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
golang.org/x/net>=0.0.0-20220524220425-1d687d428aca <0.1.1-0.20221104162952-702349b0e8620.1.1-0.20221104162952-702349b0e862

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-41721 severity on Zeptric[![CVE-2022-41721](https://zeptric.io/badge/cve/CVE-2022-41721.svg)](https://zeptric.io/cve/CVE-2022-41721)