CVE-2021-31525Published May 27, 2021 · May 27Updated Oct 20
golang.org/x/net/http/httpguts vulnerable to Uncontrolled Recursion
Medium5.9Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| golang.org/x/net Go |
|
|
| stdlib Go |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| golang.org/x/net Go |
|
|
| stdlib Go |
|
|
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.
From the CVE record · mitre
Go's net/http can panic when ReadRequest or ReadResponse processes a large header. A remote attacker can cause a denial of service; Server, Transport, and Client are affected in some configurations.
Engineers using Go stdlib before 1.15.12 or from 1.16.0 to before 1.16.4, or golang.org/x/net before 0.0.0-20210428140749-89ef3d95e781, should check their deployments.