CVE-2020-14040

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.
Infinite Loop
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: Unknown
Affected Products (NVD)
VendorProductVersion
golangtext
𝑥
< 0.3.3
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
golang-golang-x-text
bookworm
0.7.0-1
fixed
bullseye
0.3.6-1
fixed
buster
postponed
sid
0.16.0-1
fixed
stretch
no-dsa
trixie
0.16.0-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
golang-golang-x-text
bionic
dne
focal
Fixed 0.3.2-4ubuntu0.1
released
groovy
ignored
hirsute
Fixed 0.3.5-1
released
impish
not-affected
jammy
not-affected
kinetic
not-affected
lunar
not-affected
mantic
not-affected
noble
not-affected
trusty
dne
xenial
dne
golang-x-text
bionic
Fixed 0.0~git20170627.0.6353ef0-1ubuntu2.1
released
eoan
ignored
focal
ignored
groovy
ignored
hirsute
ignored
impish
dne
jammy
dne
kinetic
dne
lunar
dne
mantic
dne
noble
dne
trusty
dne
xenial
needed
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
golang
Amazon Linux 1
0:1.13.15-1.59.amzn1
fixed
Amazon Linux 2
0:1.13.15-1.amzn2.0.1
fixed
golang-bin
Amazon Linux 1
0:1.13.15-1.59.amzn1
fixed
Amazon Linux 2
0:1.13.15-1.amzn2.0.1
fixed
golang-docs
Amazon Linux 1
0:1.13.15-1.59.amzn1
fixed
Amazon Linux 2
0:1.13.15-1.amzn2.0.1
fixed
golang-misc
Amazon Linux 1
0:1.13.15-1.59.amzn1
fixed
Amazon Linux 2
0:1.13.15-1.amzn2.0.1
fixed
golang-race
Amazon Linux 1
0:1.13.15-1.59.amzn1
fixed
Amazon Linux 2
0:1.13.15-1.amzn2.0.1
fixed
golang-src
Amazon Linux 1
0:1.13.15-1.59.amzn1
fixed
Amazon Linux 2
0:1.13.15-1.amzn2.0.1
fixed
golang-tests
Amazon Linux 1
0:1.13.15-1.59.amzn1
fixed
Amazon Linux 2
0:1.13.15-1.amzn2.0.1
fixed
Azure Linux logo
Azure Linux Releases
Azure Package
Release
buildah
Azure Linux 3.0
0:1.41.4-2.azl3
fixed
podman
Azure Linux 3.0
0:5.6.1-2.azl3
fixed