Feed
5.3MEDIUM

CVE-2023-45288net/http, x/net/http2: close connections when receiving too many headers

A medium-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 3.4% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
3.4%
percentile 89%
Priority
26/100 medium
how it is computed
Fix
Named by a source
CVE published 4 Apr 2024

Reference

None of the "Needs attention" rules apply right now.

EPSS 3.4% (+3) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)

Immediate actions

  • golang.org/x/net (Go): upgrade to 0.23.0 or later on your release line.
  • golang.org/x/net/http2 (Go): upgrade to 0.23.0 or later on your release line.
  • net/http (Go): upgrade to 1.21.9 / 1.22.2 or later on your release line.
  • stdlib (Go): upgrade to 1.21.9 / 1.22.2 or later on your release line.
  • Patch: https://go.dev/cl/576155

Who should check

  • golang.org/x/net (Go) pkg:golang/golang.org/x/net

    • Affected< 0.23.0Fixed in0.23.0OSV (GO-2024-2687)
  • golang.org/x/net/http2 (Go) pkg:golang/golang.org/x/net/http2

    • Affected< 0.23.0Fixed in0.23.0OSV (GHSA-4v7x-pqxf-cx7m)
  • net/http (Go) pkg:golang/net/http

    • Affected< 1.21.9Fixed in1.21.9OSV (GHSA-4v7x-pqxf-cx7m)
    • Affected>= 1.22.0-0, < 1.22.2Fixed in1.22.2OSV (GHSA-4v7x-pqxf-cx7m)
  • stdlib (Go) pkg:golang/stdlib

    • Affected< 1.21.9Fixed in1.21.9OSV (GO-2024-2687)
    • Affected>= 1.22.0-0, < 1.22.2Fixed in1.22.2OSV (GO-2024-2687)

Confirmed facts

CVSS
5.3 MEDIUM (version 3.1)
Score from
GitHub Advisory Database (GHSA-4v7x-pqxf-cx7m)
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Weakness
CWE-400

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)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.

Update history

  • 25 Nov 2025Exploitation more likely 24.0% → 64.9%
  • 16 Jul 2025Exploitation more likely 64.9% → 75.3%
  • 28 Jun 2025Exploitation more likely 64.9% → 75.3%
  • 31 Mar 2025Exploitation more likely 24.0% → 72.3%

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 35 min ago · osv 35 min ago · nvd 4 min ago · epss 35 min ago · JSON · ask via MCP: explain_vulnerability

Also known as BIT-golang-2023-45288, GHSA-4v7x-pqxf-cx7m, GO-2024-2687