Improper Validation of Array Index
CVE-2020-28851
Summary
In x/text versions prior to 0.3.6 in Go, an "index out of range" panic occurs in "language.ParseAcceptLanguage" while parsing the "-u- extension". "x/text/language" is supposed to be able to parse an HTTP Accept-Language header.
- LOW
- NETWORK
- NONE
- UNCHANGED
- NONE
- NONE
- NONE
- HIGH
CWE-129 - Improper Validation of Array Index
The product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array.
Advisory Timeline
- Published