{"id":"CVE-2022-41717","published":"2022-12-08T19:03:53Z","modified":"2025-02-13T16:33:08Z","title":"Excessive memory growth in net/http and golang.org/x/net/http2","vendor":"Go standard library","product":"net/http","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.06199,"percentile":0.93679,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/issue/56350","tags":[]},{"url":"https://go.dev/cl/455717","tags":[]},{"url":"https://go.dev/cl/455635","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/L_3rmdT0BMU/m/yZDrXjIiBQAJ","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2022-1144","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QBKBAZBIOXZV5QCFHZNSVXULR32XJCYD/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NQGNAXK3YBPMUP3J4TECIRDHFGW37522/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PUM4DIVOLJCBK5ZDP4LJOL24GXT3YSIR/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4SBIUECMLNC572P23DDOKJNKPJVX26SP/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PW3XC47AUW5J5M2ULJX7WCCL3B2ETLMT/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Q52IQI754YAE4XPR4QBRWPIVZWYGZ4FS/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/56B2FFESRYYP6IY2AZ3UWXLWKZ5IYZN4/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ANIOPUXWIHVRA6CEWXCGOMX3YYS6KFHG/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WPEIZ7AMEJCZXU3FEJZMVRNHQZXX5P3I/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4BUK2ZIAGCULOOYDNH25JPU6JBES5NF2/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T7N5GV4CHH6WAGX3GFMDD3COEOVCZ4RI/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/REMHVVIBDNKSRKNOTV7EQSB7CYQWOUOU/","tags":[]},{"url":"https://security.gentoo.org/glsa/202311-09","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CSVIS6MTMFVBA7JPMRAUNKUOYEVSJYSB/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZSVEMQV5ROY5YW5QE3I57HT3ITWG5GCV/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CHHITS4PUOZAKFIUBQAQZC7JWXMOYE4B/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KEOTKBUPZXHE3F352JBYNTSNRXYLWD6P/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5RSKA2II6QTD4YUKUNDVJQSRYSFC4VFR/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20230120-0008/","tags":[]}],"priority":{"score":23.7,"factors":[{"name":"EPSS percentile","points":18.74},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2022-12-13","earliestUrl":"https://github.com/domdom82/h2conn-exploit","repos":[{"name":"domdom82/h2conn-exploit","url":"https://github.com/domdom82/h2conn-exploit","stars":0,"created":"2022-12-13"}]},"first":{"date":"2022-12-13","source":"PoC-in-GitHub","url":"https://github.com/domdom82/h2conn-exploit"},"provenance":"source"},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"net/http","versions":["< 1.18.9",">= 1.19.0-0, < 1.19.4"]},{"vendor":"golang.org/x/net","product":"golang.org/x/net/http2","versions":["< 0.4.0"]}],"affected":[{"ecosystem":"Go","package":"golang.org/x/net/http2","vulnerableRanges":["<0.4.0"],"patched":["0.4.0"],"from":["GHSA-xrjj-mj9h-534m"],"provenance":"source"},{"ecosystem":"Go","package":"golang.org/x/net","vulnerableRanges":["<0.4.0"],"patched":["0.4.0"],"from":["GHSA-xrjj-mj9h-534m","GO-2022-1144"],"provenance":"source"},{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.18.9",">=1.19.0-0, <1.19.4"],"patched":["1.18.9","1.19.4"],"from":["GO-2022-1144"],"provenance":"source"}],"summary":{"text":"The flaw is excessive memory growth in the net/http package of the Go standard library, and the related golang.org/x/net/http2 component, affecting servers that accept HTTP/2 requests. A remote attacker can make a Go server allocate roughly 64 MiB per open connection by sending very large HTTP header keys, which the server caches, although the total number of cache entries is capped.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:03:22Z"},"euvd":{"id":"EUVD-2022-7776","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-2880","published":"2022-10-14","fixed":"1.19.2","kev":false},{"cve":"CVE-2022-41715","published":"2022-10-14","fixed":"1.19.2","kev":false},{"cve":"CVE-2022-41716","published":"2022-11-02","fixed":"1.19.3","kev":false,"link":{"from":"CVE-2022-41716","to":"CVE-2022-41717","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.18.8","toFixed":"1.18.9","daysApart":36}]}},{"cve":"CVE-2022-41717","published":"2022-12-08","fixed":"1.19.4","kev":false},{"cve":"CVE-2022-41720","published":"2022-12-07","fixed":"1.19.4","kev":false},{"cve":"CVE-2023-45287","published":"2023-12-05","fixed":"1.20.0","kev":false},{"cve":"CVE-2022-41722","published":"2023-02-28","fixed":"1.20.1","kev":false}],"package":"Go:stdlib"}}