Slice Bounds Panic in Go x/text Processing HTTP Accept-Language Header
CVE-2020-28852
7.5HIGH
What is CVE-2020-28852?
A vulnerability in the x/text library of the Go programming language allows for a panic state to occur when processing HTTP Accept-Language headers. This issue arises when the ParseAcceptLanguage function encounters a BCP 47 tag that leads to a 'slice bounds out of range' error. It is crucial for developers using affected versions of Go to upgrade to v0.3.5 or later to mitigate potential application crashes or unexpected behavior.