Resource exhaustion in Golang Go
CVE-2022-41717
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.062, 93.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Golang Go
- Golang Http2
- Golang.org/x/net Golang.org/x/net/http2 — versions 0
- Go Standard Library Net/http — versions 0, 1.19.0-0
- Fedoraproject Fedora — versions 37, 38
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- domdom82/h2conn-exploit (last pushed 2022-12-22): Exploit for CVE-2022-41717
Also mentioned in 13 other repositories (8-cm/kube-dump, agadecki/malware-cryptominer-container, ARPSyndicate/cvemon, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- go.dev/issue/56350 (Patch, Third Party Advisory)
- go.dev/cl/455717 (Patch, Vendor Advisory)
- go.dev/cl/455635 (Patch, Vendor Advisory)
- groups.google.com/g/golang-announce/c/L_3rmdT0BMU/m/yZDrXjIiBQAJ (Mailing List, Third Party Advisory, Release Notes)
- pkg.go.dev/vuln/GO-2022-1144 (Vendor Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
This CVE has public exploit evidence. See the latest CVEs with public exploits.