All CVEs / Go standard library
CVE-2023-45288Go standard library net/http
High 7.5 No auth needed
Follow: this CVE · Go standard library · Go standard library net/http We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 3.4% probability of exploitation in 30 days · percentile 89
- Auth required
- No
- Published
- Apr 4, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for net/http.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | golang.org/x/net |
< 0.23.0 |
0.23.0 |
go get golang.org/x/net@v0.23.0 |
| Go | golang.org/x/net |
< 0.23.0 |
0.23.0 |
go get golang.org/x/net@v0.23.0 |
| Go | golang.org/x/net/http2 |
< 0.23.0 |
0.23.0 |
go get golang.org/x/net/http2@v0.23.0 |
| Go | net/http |
< 1.21.9 |
1.21.9 |
go get net/http@v1.21.9 |
| Go | net/http |
≥ 1.22.0-0 < 1.22.2 |
1.22.2 |
go get net/http@v1.22.2 |
| Go | stdlib |
< 1.21.9 |
1.21.9 |
go get stdlib@v1.21.9 |
| Go | stdlib |
≥ 1.22.0-0 < 1.22.2 |
1.22.2 |
go get stdlib@v1.22.2 |
Per OSV / GitHub Advisories (GHSA-4v7x-pqxf-cx7m, GO-2024-2687). Check the version in your lockfile before upgrading.
Affected products
- Go standard library · net/http
- golang.org/x/net · golang.org/x/net/http2
- go_standard_library · net\/http
- golang · http2
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for prometheus-blackbox_exporter · SUSE · openSUSE-SU-2026:22026-1 · Oct 6, 2026 Critical
- Security update for google-osconfig-agent · SUSE · SUSE-SU-2026:22558-1 · Jul 6, 2026 Critical
- Security update for google-osconfig-agent · SUSE · openSUSE-SU-2026:21210-1 · Jul 6, 2026 Critical
Also: SUSE (+15)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.