CVE-2022-41723 Denial of service via crafted HTTP/2 stream in net/http and golang.org/x/net
Attackers can cause denial of service via excessive CPU consumption in the HPACK decoder using crafted HTTP/2 streams.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-41723?
CVE-2022-41723 is a high-severity denial of service vulnerability in Golang Go, published on 28 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2022-41723?
5 open source packages ship an affected version, including golang.org/x/net, golang and stdlib. It affects 3 products.
| Package | Affected | Fixed in |
|---|---|---|
golang.org/x/net Go | All versions | 0.7.0 |
golang.org/x/net Go | All versions | 0.7.0 |
golang.org/x/net Go | All versions | 0.7.0 |
golang Bitnami | All versions | 1.19.6, 1.20.1 |
stdlib Go | All versions | 1.19.6, 1.20.1 |
Linux distribution packages (28)
rhc Red Hat:enterprise_linux:8::appstream | All versions | 1:0.2.4-3.el8_9 |
podman Red Hat:openshift:4.13::el8 | All versions | 3:4.4.1-5.1.rhaos4.13.el8 |
podman-catatonit Red Hat:openshift:4.13::el8 | All versions | 3:4.4.1-5.1.rhaos4.13.el8 |
podman-catatonit-debuginfo Red Hat:openshift:4.13::el8 | All versions | 3:4.4.1-5.1.rhaos4.13.el8 |
podman-debuginfo Red Hat:openshift:4.13::el8 | All versions | 3:4.4.1-5.1.rhaos4.13.el8 |
podman-debugsource Red Hat:openshift:4.13::el8 | All versions | 3:4.4.1-5.1.rhaos4.13.el8 |
podman-docker Red Hat:openshift:4.13::el8 | All versions | 3:4.4.1-5.1.rhaos4.13.el8 |
podman-gvproxy Red Hat:openshift:4.13::el8 | All versions | 3:4.4.1-5.1.rhaos4.13.el8 |
podman-gvproxy-debuginfo Red Hat:openshift:4.13::el8 | All versions | 3:4.4.1-5.1.rhaos4.13.el8 |
podman-plugins Red Hat:openshift:4.13::el8 | All versions | 3:4.4.1-5.1.rhaos4.13.el8 |
podman-plugins-debuginfo Red Hat:openshift:4.13::el8 | All versions | 3:4.4.1-5.1.rhaos4.13.el8 |
podman-remote Red Hat:openshift:4.13::el8 | All versions | 3:4.4.1-5.1.rhaos4.13.el8 |
podman-remote-debuginfo Red Hat:openshift:4.13::el8 | All versions | 3:4.4.1-5.1.rhaos4.13.el8 |
podman-tests Red Hat:openshift:4.13::el8 | All versions | 3:4.4.1-5.1.rhaos4.13.el8 |
podman Red Hat:openshift:4.13::el9 | All versions | 3:4.4.1-6.1.1.rhaos4.13.el9 |
podman-debuginfo Red Hat:openshift:4.13::el9 | All versions | 3:4.4.1-6.1.1.rhaos4.13.el9 |
podman-debugsource Red Hat:openshift:4.13::el9 | All versions | 3:4.4.1-6.1.1.rhaos4.13.el9 |
podman-docker Red Hat:openshift:4.13::el9 | All versions | 3:4.4.1-6.1.1.rhaos4.13.el9 |
podman-gvproxy Red Hat:openshift:4.13::el9 | All versions | 3:4.4.1-6.1.1.rhaos4.13.el9 |
podman-gvproxy-debuginfo Red Hat:openshift:4.13::el9 | All versions | 3:4.4.1-6.1.1.rhaos4.13.el9 |
podman-plugins Red Hat:openshift:4.13::el9 | All versions | 3:4.4.1-6.1.1.rhaos4.13.el9 |
podman-plugins-debuginfo Red Hat:openshift:4.13::el9 | All versions | 3:4.4.1-6.1.1.rhaos4.13.el9 |
podman-remote Red Hat:openshift:4.13::el9 | All versions | 3:4.4.1-6.1.1.rhaos4.13.el9 |
podman-remote-debuginfo Red Hat:openshift:4.13::el9 | All versions | 3:4.4.1-6.1.1.rhaos4.13.el9 |
podman-tests Red Hat:openshift:4.13::el9 | All versions | 3:4.4.1-6.1.1.rhaos4.13.el9 |
docker-compose openSUSE:Tumbleweed | All versions | 2.17.0-1.1 |
golang-github-prometheus-prometheus openSUSE:Tumbleweed | All versions | 2.46.0-2.1 |
grafana openSUSE:Tumbleweed | All versions | 9.3.6-2.1 |
Products include Golang Go, Golang Hpack, Golang Http2.
How do I fix CVE-2022-41723?
Upgrade golang.org/x/net to 0.7.0 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-41723 being exploited?
There is no known exploitation of CVE-2022-41723 in the wild and no public exploit code.
Other vulnerabilities in Golang Go
- CVE-2020-0601 Microsoft Windows CryptoAPI Spoofing
- CVE-2026-27143 Missing bound checks can lead to memory corruption in safe Go in cmd/compile
- CVE-2024-24790 Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip
- CVE-2023-39320 Arbitrary code execution via go.mod toolchain directive in cmd/go
- CVE-2023-24540 Improper handling of JavaScript whitespace in html/template
Sources
Also known as AZL-25350, AZL-25939, AZL-25940, AZL-26732, AZL-34543, AZL-34908 and 28 more.