Uncontrolled Recursion Affecting golang-golang-x-net package, versions <1:0.0+git20210119.5f4716e+dfsg-3


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

Social Trends
EPSS
3.69% (89th 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-ECHOLATEST-GOLANGGOLANGXNET-18291479
  • published24 Jul 2026
  • disclosed27 May 2021

Introduced: 27 May 2021

CVE-2021-31525  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade Echo:latest golang-golang-x-net to version 1:0.0+git20210119.5f4716e+dfsg-3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-golang-x-net package and not the golang-golang-x-net package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

net/http in Go before 1.15.12 and 1.16.x before 1.16.4 allows remote attackers to cause a denial of service (panic) via a large header to ReadRequest or ReadResponse. Server, Transport, and Client can each be affected in some configurations.

CVSS Base Scores

version 3.1