CVE-2022-41717

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

State
Published
Severity
Not scored
Published
Dec 8, 2022
Updated
Feb 13, 2025
Reserved
Sep 28, 2022

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
net/httpGo standard library
  • before 1.18.9Affected
  • 1.19.0-0 to before 1.19.4Affected
golang.org/x/net/http2golang.org/x/net
  • before 0.4.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.