GO-2023-1495
Dashboard / Vulnerabilities / GO-2023-1495
GO-2023-1495
Published: 13 Jan 2023Last Modified: 7 Aug 2026
Aliases:
Summary: Request smuggling due to improper request handling in golang.org/x/net/http2/h2c
Details: 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.
References: https://go.dev/issue/56352, https://go.dev/cl/447396
Affected packages
Package
Name: golang.org/x/net
Purl: pkg:golang/golang.org/x/net
Affected ranges
Type: SEMVER
Events:
Introduced- 0.0.0-20220524220425-1d687d428aca
Fixed -0.1.1-0.20221104162952-702349b0e862
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
