Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885999 (CVE-2022-41717) - [Tracker] Denial of service in Go's http server
Summary: [Tracker] Denial of service in Go's http server
Alias: CVE-2022-41717
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
Depends on: 885997 886509 883783
  Show dependency tree
Reported: 2022-12-14 23:21 UTC by John Helmert III
Modified: 2022-12-17 23:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-12-14 23:21:32 UTC
"net/http: limit canonical header cache by bytes, not entries

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.

This issue is also fixed in vX.Y.Z, for users manually configuring HTTP/2.

Thanks to Josselin Costanzi for reporting this issue.

This is CVE-2022-41717 and Go issue"