NetSight
medium5.3

CVE-2022-41717

golang.org/x/net/http2 vulnerable to possible excessive memory growth

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
gogolang.org/x/net/http2< 0.4.00.4.0
gogolang.org/x/net< 0.4.00.4.0

Affected products

VendorProductAffected versions
GolangGo
before 1.18.9
from 1.19.0 before 1.19.4
GolangHttp2
before 0.4.0
FedoraprojectFedora
Versions 37, 38

Weakness classification

References