Allocation of Resources Without Limits or Throttling Affecting std/net/textproto package, versions <1.19.8>=1.20.0-0 <1.20.3


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.89% (77th 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-STDNETTEXTPROTO-14552562
  • published6 Jan 2026
  • disclosed5 Apr 2023
  • creditJakob Ackermann

Introduced: 5 Apr 2023

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

How to fix?

Upgrade std/net/textproto to version 1.19.8, 1.20.3 or higher.

Overview

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

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

Go Vulnerability Report:

HTTP and MIME header parsing can allocate large amounts of memory, even when parsing small inputs, potentially leading to a denial of service. Certain unusual patterns of input data can cause the common function used to parse HTTP and MIME headers to allocate substantially more memory than required to hold the parsed headers. An attacker can exploit this behavior to cause an HTTP server to allocate large amounts of memory from a small request, potentially leading to memory exhaustion and a denial of service.With fix, header parsing now correctly allocates only the memory required to hold parsed headers.

CVSS Base Scores

version 4.0
version 3.1