Vulnerability Details : CVE-2021-31525
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.
Vulnerability category: Denial of service
Products affected by CVE-2021-31525
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
- cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
- cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-31525
0.58%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 78 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-31525
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
2.6
|
LOW | AV:N/AC:H/Au:N/C:N/I:N/A:P |
4.9
|
2.9
|
NIST | |
5.9
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
2.2
|
3.6
|
NIST |
CWE ids for CVE-2021-31525
-
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-31525
-
https://groups.google.com/g/golang-announce/c/cu9SP4eSXMc
Go 1.16.4 and Go 1.15.12 are releasedMailing List;Third Party Advisory
-
https://github.com/golang/go/issues/45710
net/http: ReadRequest can stack overflow due to recursion with very large headers · Issue #45710 · golang/go · GitHubIssue Tracking;Patch;Third Party Advisory
-
https://security.gentoo.org/glsa/202208-02
Go: Multiple Vulnerabilities (GLSA 202208-02) — Gentoo securityThird Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ISRZZ6NY5R2TBYE72KZFOCO25TEUQTBF/
[SECURITY] Fedora 34 Update: golang-1.16.4-1.fc34 - package-announce - Fedora Mailing-ListsMailing List;Third Party Advisory
Jump to