Go Vulnerability Database
GO-2023-1571
Denial of service via crafted HTTP/2 stream in net/http and golang.org/x/net
Details
A maliciously crafted HTTP/2 stream could cause excessive CPU consumption in the HPACK decoder, sufficient to cause a denial of service from a small number of small requests.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | stdlib | All versions before 1.19.6 (fixed in 1.19.6) From 1.20.0-0 before 1.20.1 (fixed in 1.20.1) |
| Go | golang.org/x/net | All versions before 0.7.0 (fixed in 0.7.0) |