Bugzilla – Bug 1181049
VUL-0: CVE-2020-28852: go1.15,go1.14: go: Panic in language.ParseAcceptLanguage while processing bcp47 tag
Last modified: 2022-12-05 15:18:34 UTC
In x/text in Go 1.15.4, a "slice bounds out of range" panic occurs in language.ParseAcceptLanguage while processing a BCP 47 tag. x/text/language is supposed to be able to parse an HTTP Accept-Language header. Upstream issue: https://github.com/golang/go/issues/42536
Upstream fix: https://go-review.googlesource.com/c/text/+/270697/ Additional references: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-28852 https://nvd.nist.gov/vuln/detail/CVE-2020-28852 https://bugzilla.redhat.com/show_bug.cgi?id=1913338
This issue is not directly about go, but about golang-org-x-text https://github.com/CVEProject/cvelist/pull/855/commits/37dd7dae10d078a718f2bb6be5299bffab75ad0e https://github.com/golang/text/releases/tag/v0.3.4 @Jeff, please verify.
i dont find the code in go1.15 sources at least, considering unaffected
not valid here