CVE-2023-45288
net/http, x/net/http2: close connections when receiving too many headers
Record from NVD · Published March 6, 2024
golang.org/x/net/http2 is fixed in 0.23.0 (Go Modules)
An attacker may cause an HTTP/2 endpoint to read arbitrary amounts of header data by sending an excessive number of CONTINUATION frames. Maintaining HPACK state requires parsing and processing all HEADERS and CONTINUATION frames on a connection. When a request's headers exceed MaxHeaderBytes, no memory is allocated to store the excess headers, but they are still parsed. This permits an attacker to cause an HTTP/2 endpoint to read arbitrary amounts of header data, all associated with a request which is going to be rejected. These headers can include Huffman-encoded data which is significantly more expensive for the receiver to decode than for an attacker to send. The fix sets a limit on the amount of excess header frames we will process before closing a connection.
EPSS 89.46% · 99.8th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| net/http | Go Modules | 1.22.2, 1.21.9 |
| golang.org/x/net/http2 | Go Modules | 0.23.0 |
| sbom-scorecard | Chainguard | 0.0.7-r8 |
| kubernetes-dashboard | Wolfi | 2.7.0-r15 |
| flux-source-controller | Chainguard | 1.2.5-r2 |
| haproxy-ingress | Wolfi | 0.14.6-r3 |
| flannel-cni-plugin | Chainguard | 1.4.0-r2 |
| argo-cd-fips-2.10 | Chainguard | 2.10.6-r1 |
| kustomize | Chainguard | 5.4.1-r0 |
| kubernetes-csi-driver-hostpath | Wolfi | 1.13.0-r2 |
| falcoctl | Wolfi | 0.7.3-r8 |
| falcosidekick | Wolfi | 2.28.0-r4 |
88 more packages have a fixed version. See every fix in Lookup.
Risk scores
Timeline
- Mar 6, 2024 CVE Published
- Apr 5, 2024 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Security Advisory (227 in total, the first dated here)
- Aug 2, 2026 Coalition ESS Score
- Aug 10, 2026 Distribution Patch (196 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-45288
vulnetix vdb fixes CVE-2023-45288
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-45288/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://www.kb.cert.org/vuls/id/421644 advisory
- https://go.dev/issue/65051 technical
- https://groups.google.com/g/golang-announce/c/YgW0sx8mN3M technical
- http://www.openwall.com/lists/oss-security/2024/04/03/16 technical
- http://www.openwall.com/lists/oss-security/2024/04/05/4 technical
- https://go.dev/cl/576155 technical
- https://security.netapp.com/advisory/ntap-20240419-0009/ technical
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QRYFHIQ6XRKRYBI2F5UESH67BJBQXUPT/ technical
- https://pkg.go.dev/vuln/GO-2024-2687 technical