Go Vulnerability Database
GO-2026-6610
HTTP/2 transport accepts malformed framing-related headers in net/http
Details
Historically, we have been rather lax about malformed framing-related headers in our HTTP/2 implementation, as they cannot interfere with HTTP/2 framing. However, this makes it possible for our HTTP/2 implementation to forward responses containing such headers to an HTTP/1 client when acting as a reverse proxy. If the HTTP/1 client also does not behave strictly enough, this can result in response smuggling.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | stdlib | All versions before 1.26.9 (fixed in 1.26.9) |
| Go | stdlib | From 1.27.0-0 before 1.27.2 (fixed in 1.27.2) |
| Go | golang.org/x/net | All versions before 0.60.0 (fixed in 0.60.0) |