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 Library - github.com/golang/net/http2-v0.1.0
[mirror] Go supplementary network libraries
Dependency Hierarchy: - github.com/kubernetes-sigs/controller-runtime/pkg/envtest-v0.9.0-beta.2 (Root Library) - github.com/kubernetes/apimachinery/pkg/api/errors-v0.21.1 - k8s.io/apimachinery/pkg/apis/meta/v1 - github.com/kubernetes/apimachinery/pkg/watch-v0.21.1 - github.com/kubernetes/apimachinery/pkg/util/net-v0.21.1 - :x: **github.com/golang/net/http2-v0.1.0** (Vulnerable Library)
Found in HEAD commit: 00cbc9d11a3306fed1e979d79dff6ae36749d4bd
Found in base branch: master
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
Step up your Open Source Security Game with Mend here