CVE-2022-41721

HIGH7.5EPSS 0.07%

golang.org/x/net/http2/h2c vulnerable to request smuggling attack

Published: 1/14/2023Modified: 2/4/2026
Also known as:GHSA-fxg5-wq6x-vr4wCGA-x5x2-m4rg-qxmcDEBIAN-CVE-2022-41721GO-2023-1495

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. ### Specific Go Packages Affected golang.org/x/net/http2/h2c

Affected packages (3)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1HIGH7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References (8)