CVE-2021-44716Published Jan 1, 2022 · Jan 1Updated Oct 24
golang.org/x/net/http2 allows uncontrolled memory consumption
High7.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| golang.org/x/net/http2 Go |
|
|
| stdlib Go |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| golang.org/x/net/http2 Go |
|
|
| stdlib Go |
|
|
| golang.org/x/net Go |
|
|
net/http in Go before 1.16.12 and 1.17.x before 1.17.5 allows uncontrolled memory consumption in the header canonicalization cache via HTTP/2 requests.
From the CVE record · mitre
Go's net/http header canonicalization cache can consume uncontrolled memory when processing HTTP/2 requests. A network attacker can trigger this by sending HTTP/2 requests; the input does not specify whether authentication or user interaction is required.
Engineers running Go stdlib before 1.16.12 or from 1.17.0-0 to before 1.17.5, or golang.org/x/net or golang.org/x/net/http2 before 0.0.0-20211209124913-491a49abca63, should check their deployments.