CVE-2022-41723 Denial of service via crafted HTTP/2 stream in net/http and golang.org/x/net

High 7.5 Published Updated

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.

PackageAffectedFixed in
golang.org/x/net GoAll versions0.7.0
golang.org/x/net GoAll versions0.7.0
golang.org/x/net GoAll versions0.7.0
golang BitnamiAll versions1.19.6, 1.20.1
stdlib GoAll versions1.19.6, 1.20.1
Linux distribution packages (28)
rhc Red Hat:enterprise_linux:8::appstreamAll versions1:0.2.4-3.el8_9
podman Red Hat:openshift:4.13::el8All versions3:4.4.1-5.1.rhaos4.13.el8
podman-catatonit Red Hat:openshift:4.13::el8All versions3:4.4.1-5.1.rhaos4.13.el8
podman-catatonit-debuginfo Red Hat:openshift:4.13::el8All versions3:4.4.1-5.1.rhaos4.13.el8
podman-debuginfo Red Hat:openshift:4.13::el8All versions3:4.4.1-5.1.rhaos4.13.el8
podman-debugsource Red Hat:openshift:4.13::el8All versions3:4.4.1-5.1.rhaos4.13.el8
podman-docker Red Hat:openshift:4.13::el8All versions3:4.4.1-5.1.rhaos4.13.el8
podman-gvproxy Red Hat:openshift:4.13::el8All versions3:4.4.1-5.1.rhaos4.13.el8
podman-gvproxy-debuginfo Red Hat:openshift:4.13::el8All versions3:4.4.1-5.1.rhaos4.13.el8
podman-plugins Red Hat:openshift:4.13::el8All versions3:4.4.1-5.1.rhaos4.13.el8
podman-plugins-debuginfo Red Hat:openshift:4.13::el8All versions3:4.4.1-5.1.rhaos4.13.el8
podman-remote Red Hat:openshift:4.13::el8All versions3:4.4.1-5.1.rhaos4.13.el8
podman-remote-debuginfo Red Hat:openshift:4.13::el8All versions3:4.4.1-5.1.rhaos4.13.el8
podman-tests Red Hat:openshift:4.13::el8All versions3:4.4.1-5.1.rhaos4.13.el8
podman Red Hat:openshift:4.13::el9All versions3:4.4.1-6.1.1.rhaos4.13.el9
podman-debuginfo Red Hat:openshift:4.13::el9All versions3:4.4.1-6.1.1.rhaos4.13.el9
podman-debugsource Red Hat:openshift:4.13::el9All versions3:4.4.1-6.1.1.rhaos4.13.el9
podman-docker Red Hat:openshift:4.13::el9All versions3:4.4.1-6.1.1.rhaos4.13.el9
podman-gvproxy Red Hat:openshift:4.13::el9All versions3:4.4.1-6.1.1.rhaos4.13.el9
podman-gvproxy-debuginfo Red Hat:openshift:4.13::el9All versions3:4.4.1-6.1.1.rhaos4.13.el9
podman-plugins Red Hat:openshift:4.13::el9All versions3:4.4.1-6.1.1.rhaos4.13.el9
podman-plugins-debuginfo Red Hat:openshift:4.13::el9All versions3:4.4.1-6.1.1.rhaos4.13.el9
podman-remote Red Hat:openshift:4.13::el9All versions3:4.4.1-6.1.1.rhaos4.13.el9
podman-remote-debuginfo Red Hat:openshift:4.13::el9All versions3:4.4.1-6.1.1.rhaos4.13.el9
podman-tests Red Hat:openshift:4.13::el9All versions3:4.4.1-6.1.1.rhaos4.13.el9
docker-compose openSUSE:TumbleweedAll versions2.17.0-1.1
golang-github-prometheus-prometheus openSUSE:TumbleweedAll versions2.46.0-2.1
grafana openSUSE:TumbleweedAll versions9.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.

All Golang Go vulnerabilities

Sources

Also known as AZL-25350, AZL-25939, AZL-25940, AZL-26732, AZL-34543, AZL-34908 and 28 more.

Is CVE-2022-41723 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free