Allocation of Resources Without Limits or Throttling Affecting std/net/http/internal package, versions <1.20.12>=1.21.0-0 <1.21.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (20th 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-STDNETHTTPINTERNAL-14548521
  • published6 Jan 2026
  • disclosed6 Dec 2023
  • creditBartek Nowotarski

Introduced: 6 Dec 2023

CVE-2023-39326  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade std/net/http/internal to version 1.20.12, 1.21.5 or higher.

Overview

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

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

Go Vulnerability Report:
A malicious HTTP sender can use chunk extensions to cause a receiver reading from a request or response body to read many more bytes from the network than are in the body.A malicious HTTP client can further exploit this to cause a server to automatically read a large amount of data (up to about 1GiB) when a handler fails to read the entire body of a request.Chunk extensions are a little-used HTTP feature which permit including additional metadata in a request or response body sent using the chunked encoding. The net/http chunked encoding reader discards this metadata. A sender can exploit this by inserting a large metadata segment with each byte transferred. The chunk reader now produces an error if the ratio of real body to encoded bytes grows too small.

CVSS Base Scores

version 4.0
version 3.1