Skip to main content
← All vulnerabilities
CVE-2020-14040GO-2020-0015GHSA-5RCV-M4M3-HFH7

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 lo

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.3.3
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • golang.org/x/textGo

    fixed in 0.3.3

References 2

groups.google.com

lists.fedoraproject.org