{"cve":"CVE-2021-31525","nvd":{"published":"2021-05-27T13:15:08.207","modified":"2026-06-17T03:51:57.560","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9},"cwes":["CWE-674"],"references":["https://github.com/golang/go/issues/45710","https://groups.google.com/g/golang-announce/c/cu9SP4eSXMc","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ISRZZ6NY5R2TBYE72KZFOCO25TEUQTBF/","https://security.gentoo.org/glsa/202208-02","https://github.com/golang/go/issues/45710"],"products":["fedoraproject:fedora","golang:go"],"source":"nvd","synced_at":"2026-10-19T21:18:09.669877188+00:00"},"epss":{"cve":"CVE-2021-31525","score":0.03692,"percentile":0.89709,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-h86h-8ppg-mxmh","url":"https://osv.dev/vulnerability/GHSA-h86h-8ppg-mxmh","summary":"golang.org/x/net/http/httpguts vulnerable to Uncontrolled Recursion","modified":"2026-09-10T03:49:23.210800038Z","packages":[{"ecosystem":"Go","name":"golang.org/x/net","purl":"pkg:golang/golang.org/x/net","ranges":["<0.0.0-20210428140749-89ef3d95e781"],"fixed":["0.0.0-20210428140749-89ef3d95e781"]}]},{"id":"GO-2022-0236","url":"https://osv.dev/vulnerability/GO-2022-0236","summary":"Panic due to large headers in net/http and golang.org/x/net/http/httpguts","modified":"2026-02-04T02:54:01.110291Z","packages":[{"ecosystem":"Go","name":"stdlib","purl":"pkg:golang/stdlib","ranges":["<1.15.12",">=1.16.0-0 <1.16.4"],"fixed":["1.15.12","1.16.4"]},{"ecosystem":"Go","name":"golang.org/x/net","purl":"pkg:golang/golang.org/x/net","ranges":["<0.0.0-20210428140749-89ef3d95e781"],"fixed":["0.0.0-20210428140749-89ef3d95e781"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}