Infinite loop Affecting std/net/http package, versions <1.18.6>=1.19.0-0 <1.19.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.09% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-STDNETHTTP-14565075
  • published6 Jan 2026
  • disclosed12 Sept 2022
  • creditBahruz Jabiyev, Tommaso Innocenti, Anthony Gavazzi, Steven Sprecher, Kaan Onarlioglu

Introduced: 12 Sep 2022

CVE-2022-27664  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade std/net/http to version 1.18.6, 1.19.1 or higher.

Overview

std/net/http is a Go standard library package std/net/http

Affected versions of this package are vulnerable to Infinite loop.

Go Vulnerability Report:
HTTP/2 server connections can hang forever waiting for a clean shutdown that was preempted by a fatal error. This condition can be exploited by a malicious client to cause a denial of service.

CVSS Base Scores

version 4.0
version 3.1