CVE-2022-41721

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

State
Published
Severity
7.5 High
Published
Jan 13, 2023
Updated
Apr 4, 2025
Reserved
Sep 28, 2022

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
golang.org/x/net/http2/h2cgolang.org/x/net
  • 0.0.0-20220524220425-1d687d428aca to before 0.1.1-0.20221104162952-702349b0e862Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.