CVE-2020-28852: Out-of-bounds Read

Published Jan 2, 2021
·
Updated

A flaw was found in golang.org. In x/text, a "slice bounds out of range" panic occurs in language.ParseAcceptLanguage while processing a BCP 47 tag.

Other sources

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

Red Hat

In x/text in Go before v0.3.5 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.)

Microsoft

In x/text in Go before v0.3.5, 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.)

Affected Software

7 affected componentsFixes available
redhat/servicemesh<0:2.0.9-3.el8
0:2.0.9-3.el8
redhat/git-lfs<0:2.13.3-3.el8_6
0:2.13.3-3.el8_6
redhat/podman<2:4.2.0-3.el9
2:4.2.0-3.el9
redhat/golang.org/x/text<0.3.5
0.3.5
Golang text<0.3.5
Microsoft azl3 multus 3.8-13
Microsoft azl3 multus 4.0.2-1

Event History

Jan 2, 2021
CVE Published
12:00 AM
CVE Published
via MITRE·05:45 AM
Data Sourced
via MITRE·05:45 AM
Description
Sep 11, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2020-28852?

CVE-2020-28852 is a vulnerability in golang.org/x/text that allows for a "slice bounds out of range" panic.

2

How severe is CVE-2020-28852?

CVE-2020-28852 has a severity rating of 7.5 (high).

3

Which software is affected by CVE-2020-28852?

The software affected by CVE-2020-28852 includes golang.org/x/text versions up to and exclusive 0.3.5, servicemesh versions up to and exclusive 0:2.0.9-3.el8, git-lfs versions up to and exclusive 0:2.13.3-3.el8_6, and podman versions up to and exclusive 2:4.2.0-3.el9.

4

How do I fix CVE-2020-28852?

To fix CVE-2020-28852, update the affected software to the recommended version, such as golang.org/x/text version 0.3.5.

5

Where can I find more information about CVE-2020-28852?

You can find more information about CVE-2020-28852 in the references provided: [GitHub Issue](https://github.com/golang/go/issues/42536), [Red Hat Bugzilla](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1913365), [Red Hat Bugzilla](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1913364).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203