CVE-2022-27664: High severity Golang Go vulnerability
A closing HTTP/2 server connection could hang forever waiting for a clean shutdown that was preempted by a subsequent fatal error. This failure mode could be exploited to cause a denial of service.
References: https://go.dev/issue/54658 https://groups.google.com/g/golang-announce/c/x49AQzIVX-s/m/0tgO0pjiBQAJ
Upstream Commits: Master: https://github.com/golang/go/commit/29af494fca8a25d7d46276f6d4835c4dcd09e47d Branch.go1.18 : https://github.com/golang/go/commit/5bc9106458fc07851ac324a4157132a91b1f3479 Branch.go1.19 : https://github.com/golang/go/commit/9cfe4e258b1c9d4a04a42539c21c7bdb2e227824
Other sources
A flaw was found in the golang package. In net/http in Go, attackers can cause a denial of service because an HTTP/2 connection can hang during closing if a fatal error preempts the shutdown.
Golang Go is vulnerable to a denial of service, caused by a flaw in net/http. By sending a specially-crafted request, a remote attacker could exploit this vulnerability to cause a closing HTTP/2 server connection to hang, and results in a denial of service condition.
— IBM
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.
— Microsoft
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.
Affected Software
Event History
Parent advisories
This vulnerability appears in the following advisories.
- RHSA-2022:8634
- RHSA-2023:1042
- RHSA-2023:0708
- RHSA-2023:0584
- RHSA-2023:0631
- RHSA-2023:3642
- RHSA-2022:7129
- RHSA-2023:0446
- RHSA-2023:2758
- RHSA-2023:2780
- RHSA-2023:2784
- RHSA-2023:2785
- RHSA-2023:2802
- RHSA-2023:0328
- RHSA-2023:2167
- RHSA-2023:2177
- RHSA-2023:2193
- RHSA-2023:2204
- RHSA-2023:2236
- RHSA-2023:2357
- RHSA-2023:0693
- RHBA-2023:0564
- RHSA-2022:8535
- RHSA-2022:8626
- RHSA-2022:7398
- RHSA-2023:3613
- RHSA-2023:4674
- RHSA-2023:4734
- RHSA-2023:0542
- RHSA-2023:1275
- RHSA-2023:3204
- RHSA-2023:3205
- RHSA-2023:3742
- RHSA-2022:8781
- RHSA-2023:0264
- RHSA-2023:0709
- RHSA-2023:1529
- IBM-7183851
Frequently Asked Questions
What is CVE-2022-27664?
CVE-2022-27664 is a vulnerability in the golang package that allows a denial of service attack by causing a closing HTTP/2 server connection to hang.
How does CVE-2022-27664 affect Golang Go?
CVE-2022-27664 affects Golang Go by enabling a remote attacker to exploit the vulnerability and cause a denial of service condition.
What is the severity level of CVE-2022-27664?
CVE-2022-27664 has a severity level of high.
How can I fix CVE-2022-27664?
To fix CVE-2022-27664, you need to update the affected software to version 0.0.0-20220906165146-f3363e06e74c or later.
Where can I find more information about CVE-2022-27664?
You can find more information about CVE-2022-27664 on the NIST website and the Golang announcement groups.