---
id: CVE-2022-27664
aliases:
  - GHSA-69cg-p879-7622
  - BIT-golang-2022-27664
  - GO-2022-0969
title: golang.org/x/net/http2 Denial of Service vulnerability
summary: golang.org/x/net/http2 Denial of Service vulnerability
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
vendor: x
product: golang.org/x/net
ecosystem: go
affected:
  - golang.org/x/net < 0.0.0-20220906165146-f3363e06e74c
  - golang.org/x/net/http2 < 0.0.0-20220906165146-f3363e06e74c
patched:
  - golang.org/x/net 0.0.0-20220906165146-f3363e06e74c
  - golang.org/x/net/http2 0.0.0-20220906165146-f3363e06e74c
published: '2022-09-07'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:07.184512749Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-69cg-p879-7622'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2022-27664'
  - url: 'https://cs.opensource.google/go/x/net'
  - url: 'https://go.dev/cl/428735'
  - url: 'https://go.dev/issue/54658'
  - url: 'https://groups.google.com/g/golang-announce'
  - url: 'https://groups.google.com/g/golang-announce/c/x49AQzIVX-s'
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JXKTHIGE5F576MAPFYCIJXNRGBSPISUF
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TXS2OQ57KZC5XZKK5UW4SYKPVQAHIOJX
  - url: 'https://pkg.go.dev/vuln/GO-2022-0969'
  - url: 'https://security.gentoo.org/glsa/202209-26'
  - url: 'https://security.netapp.com/advisory/ntap-20220923-0004'
tags:
  - osv
  - go
epss: 0.03269
epssPercentile: 0.87867
ingestedAt: '2026-09-12T03:13:01.758Z'
---

## Overview

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 packages

- `golang.org/x/net < 0.0.0-20220906165146-f3363e06e74c`
- `golang.org/x/net/http2 < 0.0.0-20220906165146-f3363e06e74c`

## Remediation

Upgrade to a patched release:

- `golang.org/x/net 0.0.0-20220906165146-f3363e06e74c`
- `golang.org/x/net/http2 0.0.0-20220906165146-f3363e06e74c`
