CVEs / CVE-2023-45288
CVE-2023-45288: Go standard library net/http vulnerability
- high 7.5 CVSS 3.1 (from the CNA)
- EPSS 89.4% chance of exploitation in the next 30 days, higher than 99% of CVEs (2 Dec 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2023-45288
Description
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.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Go standard library net/http | before 1.21.9 | 1.21.9 |
| Go standard library net/http | from 1.22.0-0, before 1.22.2 | 1.22.2 |
| golang.org/x/net golang.org/x/net/http2 | before 0.23.0 | 0.23.0 |
| go_standard_library net\/http | before 1.21.9 | 1.21.9 |
| go_standard_library net\/http | from 1.22.0-0, before 1.22.2 | 1.22.2 |
| golang http2 | before 0.23.0 | 0.23.0 |
| Product | Affected | Fixed in |
|---|---|---|
| net/http (Go) | before 1.21.9 | 1.21.9 |
| golang.org/x/net/http2 (Go) | before 0.23.0 | 0.23.0 |
| net/http (Go) | from 1.22.0-0, before 1.22.2 | 1.22.2 |
| golang.org/x/net (Go) | before 0.23.0 | 0.23.0 |
Package versions from GHSA-4v7x-pqxf-cx7m.
Exploitation
Not in the CISA Known Exploited Vulnerabilities catalog as of 30 Nov 2026.
Severity
| CVSS 3.1 | 7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HScored by the CNA (134c704f-9b21-4f2e-91b3-4a467353bcc0) |
|---|
References
- CVE-2023-45288 on NVD
- CVE-2023-45288 on OSV
- http://www.openwall.com/lists/oss-security/2024/04/03/16
- http://www.openwall.com/lists/oss-security/2024/04/05/4
- https://go.dev/cl/576155
- https://go.dev/issue/65051
- https://groups.google.com/g/golang-announce/c/YgW0sx8mN3M
- https://lists.fedoraproject.org/archives/list/[email protected]/message/QRYFHIQ6XRKRYBI2F5UESH67BJBQXUPT/
- https://pkg.go.dev/vuln/GO-2024-2687
- https://security.netapp.com/advisory/ntap-20240419-0009/
- https://www.kb.cert.org/vuls/id/421644
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.