Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-41717

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Go standard library net/http

Default version status: unaffected

  • 0 to < 1.18.9affected
  • 1.19.0-0 to < 1.19.4affected

golang.org/x/net golang.org/x/net/http2

Default version status: unaffected

  • 0 to < 0.4.0affected

References