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.
CVE-2022-41721 - High Severity Vulnerability
Vulnerable Libraries - github.com/golang/net-v0.0.0-20190403144856-b630fd6fe46b, github.com/golang/net-v0.0.0-20200301022130-244492dfa37a
github.com/golang/net-v0.0.0-20190403144856-b630fd6fe46b
[mirror] Go supplementary network libraries
Library home page: https://proxy.golang.org/github.com/golang/net/@v/v0.0.0-20190403144856-b630fd6fe46b.zip
Path to dependency file: /examples/ext_authz/auth/grpc-service/go.mod
Path to vulnerable library: /examples/ext_authz/auth/grpc-service/go.mod
Dependency Hierarchy: - github.com/grpc/grpc-go-v1.25.1 (Root Library) - :x: **github.com/golang/net-v0.0.0-20190403144856-b630fd6fe46b** (Vulnerable Library)
github.com/golang/net-v0.0.0-20200301022130-244492dfa37a
[mirror] Go supplementary network libraries
Library home page: https://proxy.golang.org/github.com/golang/net/@v/v0.0.0-20200301022130-244492dfa37a.zip
Path to dependency file: /examples/load-reporting-service/go.mod
Path to vulnerable library: /examples/load-reporting-service/go.mod
Dependency Hierarchy: - github.com/grpc/grpc-go-v1.25.1 (Root Library) - :x: **github.com/golang/net-v0.0.0-20200301022130-244492dfa37a** (Vulnerable Library)
Found in base branch: main
Vulnerability 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.
Publish Date: 2023-01-13
URL: CVE-2022-41721
CVSS 3 Score Details (7.5)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Release Date: 2023-01-13
Fix Resolution: v0.2.0