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.
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: mitre

Published: 2020-06-17T19:22:31

Updated: 2020-09-07T18:06:10

Reserved: 2020-06-12T00:00:00


Link: CVE-2020-14040

JSON object: View

cve-icon NVD Information

Status : Modified

Published: 2020-06-17T20:15:09.993

Modified: 2023-11-07T03:17:05.563


Link: CVE-2020-14040

JSON object: View

cve-icon Redhat Information

No data.

CWE