Skip to content
Not rated

CVE-2022-41717 An attacker can cause excessive memory growth in a Go server accepting HTTP/2 requests

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 and versions

Product Affected versions Fixed in
net/http 1.19 1.19.0-0 → < 1.19.4 1.19.4
net/http 1.18 earliest → < 1.18.9 1.18.9
golang.org/x/net/http2 0.4 earliest → < 0.4.0 0.4.0

References

Timeline

  1. Published
  2. Last modified
The 26 CVEs of net/http →
Track this CVE