Allocation of Resources Without Limits or Throttling Affecting std/net/http package, versions <1.18.9>=1.19.0-0 <1.19.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.71% (72nd 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 Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-STDNETHTTP-14565076
  • published6 Jan 2026
  • disclosed8 Dec 2022
  • creditJosselin Costanzi

Introduced: 8 Dec 2022

CVE-2022-41717  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade std/net/http to version 1.18.9, 1.19.4 or higher.

Overview

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

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling.

Go Vulnerability Report:
An attacker can cause excessive memory growth in a Go server accepting HTTP/2 requests.HTTP/2 server connections contain a cache of HTTP header keys sent by the client. While the total number of entries in this cache is capped, an attacker sending very large keys can cause the server to allocate approximately 64 MiB per open connection.

CVSS Base Scores

version 4.0
version 3.1