GHSA-h86h-8ppg-mxmh
golang.org/x/net/http/httpguts vulnerable to Uncontrolled Recursion
At a glance
- Published
- Updated
- CVE
- CVE-2021-31525
- Aliases
- BIT-golang-2021-31525, GO-2022-0236
- CVSS_V3
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
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.
Affected packages
| Package | Versions |
|---|---|
| Go · golang.org/x/net | introduced 0, fixed 0.0.0-20210428140749-89ef3d95e781 |
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/package-announce@lists.fedoraproject.org/message/ISRZZ6NY5R2TBYE72KZFOCO25TEUQTBF WEB
- https://pkg.go.dev/vuln/GO-2022-0236 WEB
- https://security.gentoo.org/glsa/202208-02 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |