CVE-2021-31525
medium
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
5.5
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.
Predictions
Exploit likelihood
30%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Arch Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Fixed | 2:1.16.4-1 |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 1:0.0+git20210119.5f4716e+dfsg-3 |
| sid | Fixed | 1:0.0+git20210119.5f4716e+dfsg-3 |
| forky | Fixed | 1:0.0+git20210119.5f4716e+dfsg-3 |
| bullseye | Fixed | 1.15.9-2 |
| bookworm | Fixed | 1:0.0+git20210119.5f4716e+dfsg-3 |
Red Hat Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| 8 | Fixed | โ |
Rocky Linux Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| 8 | Fixed | โ |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Go | golang.org/x/net | <0.0.0-20210428140749-89ef3d95e781 | 0.0.0-20210428140749-89ef3d95e781 |
| Go | stdlib | >=1.16.0-0,<1.16.4 | 1.15.12 |
References
- https://www.suse.com/security/cve/CVE-2021-31525.html
- https://nvd.nist.gov/vuln/detail/CVE-2021-31525
- https://github.com/golang/go/issues/45710
- https://github.com/golang/go
- https://go.dev/cl/313069
- https://go.dev/issue/45710
- https://go.googlesource.com/net/+/89ef3d95e781148a0951956029c92a211477f7f9
- https://groups.google.com/g/golang-announce/c/cu9SP4eSXMc
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ISRZZ6NY5R2TBYE72KZFOCO25TEUQTBF
- https://pkg.go.dev/vuln/GO-2022-0236
- https://security.gentoo.org/glsa/202208-02
- https://security-tracker.debian.org/tracker/CVE-2021-31525
- https://errata.rockylinux.org/RLSA-2021:3076
- https://access.redhat.com/errata/RHSA-2021:3076
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.