Launch Week Day 1: Announcing Security Design Review
HIGH 7.5 Go

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

GHSA-fxg5-wq6x-vr4w · CVE-2022-41721 · GO-2023-1495

Published · Modified

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

Ready to move

Start Securing

Free, no credit card | First findings in minutes