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
NISTNIST
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
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: Unknown
VendorProductVersion
golangtext
𝑥
< 0.3.3
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
golang-golang-x-text
bullseye
0.3.6-1
fixed
buster
postponed
stretch
no-dsa
bookworm
0.7.0-1
fixed
sid
0.16.0-1
fixed
trixie
0.16.0-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
golang-golang-x-text
noble
not-affected
mantic
not-affected
lunar
not-affected
kinetic
not-affected
jammy
not-affected
impish
not-affected
hirsute
Fixed 0.3.5-1
released
groovy
ignored
focal
Fixed 0.3.2-4ubuntu0.1
released
bionic
dne
xenial
dne
trusty
dne
golang-x-text
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
hirsute
ignored
groovy
ignored
focal
ignored
eoan
ignored
bionic
Fixed 0.0~git20170627.0.6353ef0-1ubuntu2.1
released
xenial
needed
trusty
dne