CVE-2022-27664 golang.org/x/net/http2 Denial of Service vulnerability

High 7.5 Published Updated

Attackers can cause a denial of service in Go applications by triggering a hang during HTTP/2 connection closure when a fatal error occurs.

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-27664?

CVE-2022-27664 is a high-severity denial of service vulnerability in Fedoraproject Fedora, published on 6 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In net/http in Go before 1.18.6 and 1.19.x before 1.19.1, attackers can cause a denial of service because an HTTP/2 connection can hang during closing if shutdown were preempted by a fatal error.

Which versions are affected by CVE-2022-27664?

7 open source packages ship an affected version, including golang.org/x/net, golang and golang.org/x/net/http2. It affects 2 products.

PackageAffectedFixed in
golang.org/x/net GoAll versions0.0.0-20220906165146-f3363e06e74c
golang.org/x/net GoAll versions0.0.0-20220906165146-f3363e06e74c
golang.org/x/net GoAll versions0.0.0-20220906165146-f3363e06e74c
golang BitnamiAll versions1.18.6, 1.19.1
golang.org/x/net/http2 GoAll versions0.0.0-20220906165146-f3363e06e74c
golang.org/x/net/http2 GoAll versions0.0.0-20220906165146-f3363e06e74c
1 more packages
stdlib GoAll versions1.18.6, 1.19.1
Linux distribution packages (26)
grafana-pcp AlmaLinux:8All versions3.2.0-3.el8
grafana-pcp AlmaLinux:9All versions5.1.1-1.el9
grafana-pcp Red Hat:enterprise_linux:8::appstreamAll versions0:3.2.0-3.el8
grafana-pcp-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:3.2.0-3.el8
grafana-pcp Red Hat:enterprise_linux:9::appstreamAll versions0:5.1.1-1.el9
grafana-pcp-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:5.1.1-1.el9
grafana-pcp-debugsource Red Hat:enterprise_linux:9::appstreamAll versions0:5.1.1-1.el9
cri-o Red Hat:openshift:4.11::el8All versions0:1.24.4-5.rhaos4.11.git57d7127.el8
cri-o-debuginfo Red Hat:openshift:4.11::el8All versions0:1.24.4-5.rhaos4.11.git57d7127.el8
cri-o-debugsource Red Hat:openshift:4.11::el8All versions0:1.24.4-5.rhaos4.11.git57d7127.el8
openshift-clients Red Hat:openshift:4.12::el8All versions0:4.12.0-202308151125.p0.gf61957e.assembly.stream.el8
openshift-clients-redistributable Red Hat:openshift:4.12::el8All versions0:4.12.0-202308151125.p0.gf61957e.assembly.stream.el8
openshift-clients Red Hat:openshift:4.12::el9All versions0:4.12.0-202308151125.p0.gf61957e.assembly.stream.el9
openshift-clients-redistributable Red Hat:openshift:4.12::el9All versions0:4.12.0-202308151125.p0.gf61957e.assembly.stream.el9
openshift-clients Red Hat:openshift:4.13::el8All versions0:4.13.0-202308112024.p0.g17b7acc.assembly.stream.el8
openshift-clients-redistributable Red Hat:openshift:4.13::el8All versions0:4.13.0-202308112024.p0.g17b7acc.assembly.stream.el8
openshift-clients Red Hat:openshift:4.13::el9All versions0:4.13.0-202308112024.p0.g17b7acc.assembly.stream.el9
openshift-clients-redistributable Red Hat:openshift:4.13::el9All versions0:4.13.0-202308112024.p0.g17b7acc.assembly.stream.el9
grafana-pcp Rocky Linux:9All versions0:5.1.1-14.el9_7
go1.18 SUSE:Linux Enterprise Module for Development Tools 15 SP3All versions1.18.6-150000.1.31.1
go1.18 SUSE:Linux Enterprise Module for Development Tools 15 SP4All versions1.18.6-150000.1.31.1
go1.18 openSUSE:Leap 15.3All versions1.18.6-150000.1.31.1
go1.18 openSUSE:Leap 15.4All versions1.18.6-150000.1.31.1
cadvisor openSUSE:TumbleweedAll versions0.49.1-1.1
docker-compose openSUSE:TumbleweedAll versions2.15.1-1.1
go1.18 openSUSE:TumbleweedAll versions1.18.6-1.1

Products include Fedoraproject Fedora, Golang Go.

How do I fix CVE-2022-27664?

Upgrade golang.org/x/net to 0.0.0-20220906165146-f3363e06e74c 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-27664 being exploited?

There is no known exploitation of CVE-2022-27664 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as ALSA-2023:2177, ALSA-2023:2785, AZL-10855, AZL-31963, AZL-37328, AZL-52863 and 23 more.

Is CVE-2022-27664 in your software?

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

Check your SBOMs for free