NetSight
hoch7.5

CVE-2023-45288

net/http, x/net/http2: close connections when receiving too many headers

Auswirkung

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.

Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko für Ausfälle.

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
gonet/http< 1.21.91.21.9
gogolang.org/x/net/http2< 0.23.00.23.0
gogolang.org/x/net< 0.23.00.23.0

Betroffene Produkte · Microsoft

ProduktBetroffene VersionenBehoben durch
Azure Linux 3.0 ARMOnlinedienstVom Hersteller behoben, nichts zu tun
Azure Linux 3.0 x64OnlinedienstVom Hersteller behoben, nichts zu tun

Schwachstellenklasse

Referenzen