Stackurity Start free trial

CVEs / CVE-2023-45288

CVE-2023-45288: Go standard library net/http vulnerability

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.

The CVE record, via NVD · published 4 Apr 2024 · NVD status: Deferred

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
Go standard library net/httpbefore 1.21.91.21.9
Go standard library net/httpfrom 1.22.0-0, before 1.22.21.22.2
golang.org/x/net golang.org/x/net/http2before 0.23.00.23.0
go_standard_library net\/httpbefore 1.21.91.21.9
go_standard_library net\/httpfrom 1.22.0-0, before 1.22.21.22.2
golang http2before 0.23.00.23.0
As stated by OSV
ProductAffectedFixed in
net/http (Go)before 1.21.91.21.9
golang.org/x/net/http2 (Go)before 0.23.00.23.0
net/http (Go)from 1.22.0-0, before 1.22.21.22.2
golang.org/x/net (Go)before 0.23.00.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.17.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scored by the CNA (134c704f-9b21-4f2e-91b3-4a467353bcc0)

References

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.