cve.bz

CVE-2023-45288

7.5 highEPSS 92%

High (7.5). EPSS 92% chance of exploitation in the next 30 days. Fixed in net/http 1.21.9, 1.22.2.

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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
92% chance of exploitation in the next 30 days; higher than 99% of CVEs (scores of 2026-10-31)
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4v7x-pqxf-cx7mGonet/http<1.21.91.21.9
GHSA-4v7x-pqxf-cx7mGogolang.org/x/net/http2<0.23.00.23.0
GHSA-4v7x-pqxf-cx7mGonet/http>=1.22.0-0 <1.22.21.22.2
GHSA-4v7x-pqxf-cx7mGogolang.org/x/net<0.23.00.23.0
GO-2024-2687Gostdlib<1.21.9
>=1.22.0-0 <1.22.2
1.21.9, 1.22.2
GO-2024-2687Gogolang.org/x/net<0.23.00.23.0

References

Check your stackJSON