CVE-2023-45288
HTTP/2 CONTINUATION flood in net/http
- Published
- Updated
- Reserved
- Assigned by
- Go
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Deferred | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 89.5% · top 0.2% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
- CWE-400: Uncontrolled Resource Consumption
Affected products
Go standard library · net/http
- affected < 1.21.9
- affected 1.22.0-0 – < 1.22.2
golang.org/x/net · golang.org/x/net/http2
- affected < 0.23.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogolang.org/x/netGHSA-4v7x-pqxf-cx7m (opens in a new tab)
- Gogolang.org/x/net/http2GHSA-4v7x-pqxf-cx7m (opens in a new tab)
- Gonet/httpGHSA-4v7x-pqxf-cx7m (opens in a new tab)
References (9)
- https://go.dev/issue/65051 (opens in a new tab)x_transferred
- https://go.dev/cl/576155 (opens in a new tab)x_transferred
- https://groups.google.com/g/golang-announce/c/YgW0sx8mN3M (opens in a new tab)x_transferred
- https://pkg.go.dev/vuln/GO-2024-2687 (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20240419-0009/ (opens in a new tab)x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/QRYFHIQ6XRKRYBI2F5UESH67BJBQXUPT/ (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2024/04/05/4 (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2024/04/03/16 (opens in a new tab)x_transferred
- https://www.kb.cert.org/vuls/id/421644 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-4v7x-pqxf-cx7m (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-45288)Record last updated .