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—
Product
Go
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
| Product | Affected versions | Fixed in |
|---|---|---|
| golang go | v < 1.15.12, 1.16.0 ≤ v < 1.16.4 | 1.15.12, 1.16.4 |
| fedoraproject fedora | 34 | — |
| golang.org/x/netGo | v < 0.0.0-20210428140749-89ef3d95e781 | 0.0.0-20210428140749-89ef3d95e781 |
| stdlibGo | v < 1.15.12, 1.16.0-0 ≤ v < 1.16.4 | 1.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.