GO-2022-1144

Excessive memory growth in net/http and golang.org/x/net/http2

En bref

Publiée
Mise à jour
CVE
CVE-2022-41717
Alias
BIT-golang-2022-41717, GHSA-xrjj-mj9h-534m

Description

An attacker can cause excessive memory growth in a Go server accepting HTTP/2 requests. HTTP/2 server connections contain a cache of HTTP header keys sent by the client. While the total number of entries in this cache is capped, an attacker sending very large keys can cause the server to allocate approximately 64 MiB per open connection.

Paquets affectés

PaquetVersions
Go · stdlibintroduced 0, fixed 1.18.9, introduced 1.19.0-0, fixed 1.19.4
Go · golang.org/x/netintroduced 0, fixed 0.4.0

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database