Bug 1181049 - (CVE-2020-28852) VUL-0: CVE-2020-28852: go1.15,go1.14: go: Panic in language.ParseAcceptLanguage while processing bcp47 tag
(CVE-2020-28852)
VUL-0: CVE-2020-28852: go1.15,go1.14: go: Panic in language.ParseAcceptLangua...
Status: RESOLVED INVALID
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P3 - Medium : Normal
: ---
Assigned To: Jeff Kowalczyk
Security Team bot
https://smash.suse.de/issue/274460/
CVSSv3.1:SUSE:CVE-2020-28852:5.3:(AV:...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-01-18 09:53 UTC by Marcus Meissner
Modified: 2022-12-05 15:18 UTC (History)
4 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Meissner 2021-01-18 09:53:13 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
Comment 2 Alexander Bergmann 2021-05-12 11:01:55 UTC
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.
Comment 3 Marcus Meissner 2021-06-02 12:55:10 UTC
i dont find the code in go1.15 sources at least, considering unaffected
Comment 4 Marcus Meissner 2022-12-05 15:18:34 UTC
not valid here