CVE-2020-28851

golang.org/x/text: Panic in language.ParseAcceptLanguage while parsing -u- extension

Published Jan 2, 2021 CVSS 3.1 · 7.5 High EPSS 2.3% KEV · Not listed
Description
In x/text in Go 1.15.4, 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.)

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2020-21243 In x/text in Go 1.15.4, 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.)
Ubuntu USN Ubuntu USN USN-5873-1 Go Text vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00082}

epss

{'score': 0.0018}

Type Values Removed Values Added
CPEs cpe:/a:redhat:acm:2.2::el7
Type Values Removed Values Added
CPEs cpe:/a:redhat:acm:2.2::el7
cpe:/a:redhat:acm:2.2::el8
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 4:40 PM
Reserved
Nov 16, 2020, 12:00 AM
Status
Modified
Published
Jan 2, 2021, 6:15 AM
Modified
Jun 17, 2026, 3:10 AM
Severity
Moderate
Public date
Jan 2, 2021, 12:00 AM