CVE-2021-31525: Uncontrolled Recursion
(updated )
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.
References
- github.com/advisories/GHSA-h86h-8ppg-mxmh
- github.com/golang/go/issues/45710
- go.dev/cl/313069
- go.dev/issue/45710
- go.googlesource.com/net/+/89ef3d95e781148a0951956029c92a211477f7f9
- groups.google.com/g/golang-announce/c/cu9SP4eSXMc
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ISRZZ6NY5R2TBYE72KZFOCO25TEUQTBF/
- nvd.nist.gov/vuln/detail/CVE-2021-31525
- pkg.go.dev/vuln/GO-2022-0236
- security.gentoo.org/glsa/202208-02
Detect and mitigate CVE-2021-31525 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →