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/m3db/m3/src/query/functions/tag-a6995b403d76d304f048402de65df060ccc5c09e (Root Library) - github.com/m3db/m3/src/query/parser-a6995b403d76d304f048402de65df060ccc5c09e - github.com/m3db/m3/src/query/functions/linear-a6995b403d76d304f048402de65df060ccc5c09e - github.com/m3db/m3/src/query/functions/lazy-a6995b403d76d304f048402de65df060ccc5c09e - github.com/m3db/m3/src/query/executor/transform-a6995b403d76d304f048402de65df060ccc5c09e - github.com/m3db/m3/src/query/storage-a6995b403d76d304f048402de65df060ccc5c09e - github.com/m3db/m3/src/dbnode/namespace-a6995b403d76d304f048402de65df060ccc5c09e - github.com/m3db/m3/src/x/ident-a6995b403d76d304f048402de65df060ccc5c09e - github.com/m3db/m3/src/x/context-a6995b403d76d304f048402de65df060ccc5c09e - github.com/m3db/m3/src/x/opentracing-docs/v1.0 - github.com/lightstep/lightstep-tracer-go-v0.24.1-0.20210527224020-de09fbeeb3df - github.com/lightstep/lightstep-tracer-common/golang/gogo/metricspb-a8dfcb80d3a7f65dcc7767e09e74d1337793bbfd - google.golang.org/grpc-v0.0.0-20210526223527-2de42fcbbce3 - github.com/grpc/grpc-go/internal-v1.40.0-dev - :x: **github.com/golang/net/http2-v0.1.0** (Vulnerable Library)
Found in HEAD commit: a62d2ead44380e2c1668bbbf026d5385b98d56ec
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