GitHub Advisoryadvisory · Go
GHSA-h86h-8ppg-mxmh golang.org/x/net/http/httpguts vulnerable to Uncontrolled Recursion
MEDIUM
Official page ↗
- Aliases
- CVE-2021-31525
- Ecosystem
- Go
- Packages
- golang.org/x/net
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-674
- Reviewed
- 2023-02-08
Affected packages
• Go golang.org/x/net: < 0.0.0-20210428140749-89ef3d95e781 → fixed in 0.0.0-20210428140749-89ef3d95e781
Description
golang.org/x/net/http/httpguts 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.
Related
Alias · CVE (1)
- 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… vulnerability
Weakness · CWE (1)
- CWE-674 Uncontrolled Recursion weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-31525 advisory
- https://github.com/golang/go/issues/45710 web
- https://github.com/golang/go package
- https://go.dev/cl/313069 web
- https://go.dev/issue/45710 web
- https://go.googlesource.com/net/+/89ef3d95e781148a0951956029c92a211477f7f9 web
- https://groups.google.com/g/golang-announce/c/cu9SP4eSXMc web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ISRZZ6NY5R2TBYE72KZFOCO25TEUQTBF web
- https://pkg.go.dev/vuln/GO-2022-0236 web
- https://security.gentoo.org/glsa/202208-02 web