ALAS2-2020-1494
Active ModerateALAS2-2020-1494 (medium): golang
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 2 records
Shared by all 2 CVE relationships
Exact relationship value
advisory_listExact field value
referencesExact evidence value
https://alas.aws.amazon.com/AL2/ALAS2-2020-1494.html| CVE |
|---|
| CVE-2020-14040 |
| CVE-2020-16845 |
Description
The x/text package before 0.3.3 for Go has a vulnerability in encoding/unicode that could lead to the UTF-16 decoder entering an infinite loop, causing the program to crash or run out of memory. An attacker could provide a single byte to a UTF16 decoder instantiated with UseBOM or ExpectBOM to trigger an infinite loop if the String function on the Decoder
Read full publisher description 1063 characters
The x/text package before 0.3.3 for Go has a vulnerability in encoding/unicode that could lead to the UTF-16 decoder entering an infinite loop, causing the program to crash or run out of memory. An attacker could provide a single byte to a UTF16 decoder instantiated with UseBOM or ExpectBOM to trigger an infinite loop if the String function on the Decoder is called, or the Decoder is passed to golang.org/x/text/transform.String.A denial of service vulnerability was found in the golang.org/x/text library. A library or application must use one of the vulnerable functions, such as unicode.Transform, transform.String, or transform.Byte, to be susceptible to this vulnerability. If an attacker is able to supply specific characters or strings to the vulnerable application, there is the potential to cause an infinite loop to occur using more memory, resulting in a denial of service. (CVE-2020-14040) Go before 1.13.15 and 14.x before 1.14.7 can have an infinite read loop in ReadUvarint and ReadVarint in encoding/binary via invalid inputs. (CVE-2020-16845)
Solution
Run yum update golang or yum update --advisory ALAS2-2020-1494 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 4 occurrences-
1golang
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- golang-1.13.15-1.amzn2.0.1.aarch64
- golang-bin-1.13.15-1.amzn2.0.1.aarch64
-
2golang
Occurrence-specific details
- Architecture
- noarch
Replacement RPMs
- golang-docs-1.13.15-1.amzn2.0.1.noarch
- golang-misc-1.13.15-1.amzn2.0.1.noarch
- golang-tests-1.13.15-1.amzn2.0.1.noarch
- golang-src-1.13.15-1.amzn2.0.1.noarch
-
3golang
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- golang-1.13.15-1.amzn2.0.1.src
-
4golang
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- golang-1.13.15-1.amzn2.0.1.x86_64
- golang-bin-1.13.15-1.amzn2.0.1.x86_64
- golang-race-1.13.15-1.amzn2.0.1.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
4- CVE-2020-14040 https://access.redhat.com/security/cve/CVE-2020-14040
- CVE-2020-16845 https://access.redhat.com/security/cve/CVE-2020-16845
- CVE-2020-14040 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14040
- CVE-2020-16845 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-16845
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2-2020-1494.html | Unknown | 41424e2acc9e6bb46d0f725ed82ea7d2f4af3d62f919a515bca501081afcbe2d | amazon-alas/1 | 2026-11-16T08:26:43Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2020-1494.html | Unknown | Unknown | amazon-alas/1 | 2026-11-16T08:26:43Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2020-1494.html | Unknown | Unknown | amazon-alas/1 | 2026-11-16T08:26:43Z |