Slice Bounds Panic in Go x/text Processing HTTP Accept-Language Header
CVE-2020-28852

7.5HIGH

Key Information:

Vendor

Golang

Status
Vendor
CVE Published:
2 January 2021

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.

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2020-28852 : Slice Bounds Panic in Go x/text Processing HTTP Accept-Language Header