CVE-2022-41717

Allocation of Resources Without Limits or Throttling in go/golang.org/x/net/http2

Identifiers

GHSA-xrjj-mj9h-534m, CVE-2022-41717

Package Slug

go/golang.org/x/net/http2

Vulnerability

Allocation of Resources Without Limits or Throttling

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 Versions

All versions before 0.4.0

Solution

Upgrade to version 0.4.0 or above.

Last Modified

2023-01-18

source