GHSA-xrjj-mj9h-534m

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

At a glance

Published
Updated
CVE
CVE-2022-41717
Aliases
BIT-golang-2022-41717, GO-2022-1144
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

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 packages

PackageVersions
Go · golang.org/x/net/http2introduced 0, fixed 0.4.0
Go · golang.org/x/netintroduced 0, fixed 0.4.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database