Name | CVE-2020-14040 |
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 is called, or the Decoder is passed to golang.org/x/text/transform.String. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 964271, 964272 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
golang-golang-x-text (PTS) | bullseye | 0.3.6-1 | fixed |
| bookworm | 0.7.0-1 | fixed |
| sid, trixie | 0.16.0-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[buster] - golang-x-text <postponed> (Limited support, minor issue)
[stretch] - golang-x-text <no-dsa> (Minor issue)
https://github.com/golang/go/issues/39491
https://go.googlesource.com/text/+/23ae387dee1f90d29a23c0e87ee0b46038fbed0e
https://groups.google.com/forum/#!topic/golang-announce/bXVeAmGOqz0