What’s Vulnerable › Vulnerabilities
CVE-2022-41723: Denial of service via crafted HTTP/2 stream in net/http and golang.org/x/net
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 4.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-02-28 · updated 2026-06-17
Description
A maliciously crafted HTTP/2 stream could cause excessive CPU consumption in the HPACK decoder, sufficient to cause a denial of service from a small number of small requests.
Affected products
- Go: before 1.19.6; 1.20.0 — fixed in 1.19.6
- Golang Hpack: before 0.7.0 — fixed in 0.7.0
- Golang Http2: before 0.7.0 — fixed in 0.7.0
- Golang.Org/X/Net: before 0.7.0 — fixed in 0.7.0
- Go Stdlib: before 1.19.6; from 1.20.0-0 before 1.20.1 — fixed in 1.19.6, 1.20.1
How to fix
Upgrade to a fixed version: Go 1.19.6; Golang Hpack 0.7.0; Golang Http2 0.7.0; Golang.Org/X/Net 0.7.0; Go Stdlib 1.19.6, 1.20.1. Check the vendor advisory for mitigations.
References
- https://go.dev/cl/468135
- https://go.dev/cl/468295
- https://go.dev/issue/57855
- https://groups.google.com/g/golang-announce/c/V0aBFqaFs_E
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4BUK2ZIAGCULOOYDNH25JPU6JBES5NF2/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4MA5XS5DAOJ5PKKNG5TUXKPQOFHT5VBC/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/REMHVVIBDNKSRKNOTV7EQSB7CYQWOUOU/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RGW7GE2Z32ZT47UFAQFDRQE33B7Q7LMT/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RLBQ3A7ROLEQXQLXFDLNJ7MYPKG5GULE/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T7N5GV4CHH6WAGX3GFMDD3COEOVCZ4RI/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XX3IMUTZKRQ73PBZM4E2JP4BKYH4C6XE/
- https://pkg.go.dev/vuln/GO-2023-1571
Get alerted when CVE-2022-41723 or the next vulnerability affects your stack