CVE-2021-31525

Medium

Description

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.

SeverityMedium
CVSS5.9
Exploit probability—
ProductGo
PublishedMay 27, 2021
First seenMay 27, 2021

How to fix

Update
  • golang go1.15.12, 1.16.4 or later
  • golang.org/x/net0.0.0-20210428140749-89ef3d95e781 or later
  • stdlib1.15.12, 1.16.4 or later

Affected products

ProductAffected versionsFixed in
golang gov < 1.15.12, 1.16.0 ≤ v < 1.16.41.15.12, 1.16.4
fedoraproject fedora34—
golang.org/x/netGov < 0.0.0-20210428140749-89ef3d95e7810.0.0-20210428140749-89ef3d95e781
stdlibGov < 1.15.12, 1.16.0-0 ≤ v < 1.16.41.15.12, 1.16.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.