CVEfocus › CVE database › CVE-2020-14040

CVE-2020-14040

EPSS 1.9% (higher than 80% of CVEs)Published 2020-06-17Updated 2024-08-04Assigner: mitre

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.

What to do

Fixed builds are available from AlmaLinux, Debian, Go, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

48Fixed
8Will not fix
15Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04golang-golang-x-textNot affected
vulnerable_code_not_present
Ubuntu 25.10golang-golang-x-textNot affected
vulnerable_code_not_present
Ubuntu 24.04golang-golang-x-textNot affected
vulnerable_code_not_present
Ubuntu 22.04golang-golang-x-textNot affected
vulnerable_code_not_present
Ubuntu 20.04golang-golang-x-textFixed0.3.2-4ubuntu0.1UBUNTU-CVE-2020-14040
Ubuntu 20.04golang-x-textWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2020-14040
Ubuntu 18.04golang-x-textFixed0.0~git20170627.0.6353ef0-1ubuntu2.1UBUNTU-CVE-2020-14040
Ubuntu 16.04golang-x-textWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2020-14040
Debian 14golang-golang-x-textFixed0.3.3-1DEBIAN-CVE-2020-14040
Debian 13golang-golang-x-textFixed0.3.3-1DEBIAN-CVE-2020-14040
Debian 12golang-golang-x-textFixed0.3.3-1DEBIAN-CVE-2020-14040
Red Hat Enterprise Linux 9go-toolsetNot affected
Red Hat Enterprise Linux 9golangNot affected
Red Hat Enterprise Linux 9golang-binNot affected
Red Hat Enterprise Linux 9golang-docsNot affected
Red Hat Enterprise Linux 9golang-miscNot affected
Red Hat Enterprise Linux 9golang-raceNot affected
Red Hat Enterprise Linux 9golang-srcNot affected
Red Hat Enterprise Linux 9golang-testsNot affected
Red Hat Enterprise Linux 8buildahFixed
Will not fix
0:1.15.1-2.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 8buildah-testsFixed
Will not fix
0:1.15.1-2.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 8cockpit-podmanFixed0:18.1-2.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 8conmonFixed2:2.0.20-2.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 8container-selinuxFixed2:2.144.0-1.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 8containernetworking-pluginsFixed0:0.8.6-2.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 8containers-commonFixed1:1.1.1-3.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 8critFixed0:3.14-2.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 8criuFixed0:3.14-2.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 8crunFixed0:0.14.1-2.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 8delveFixed0:1.3.2-3.module+el8.2.0+5581+896cb53eRHSA-2020:3665
Red Hat Enterprise Linux 8fuse-overlayfsFixed0:1.1.2-3.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 8go-toolsetFixed0:1.13.15-1.module+el8.2.0+7662+fa98b974RHSA-2020:3665
Red Hat Enterprise Linux 8golangFixed0:1.13.15-1.module+el8.2.0+7662+fa98b974RHSA-2020:3665
Red Hat Enterprise Linux 8golang-binFixed0:1.13.15-1.module+el8.2.0+7662+fa98b974RHSA-2020:3665
Red Hat Enterprise Linux 8golang-docsFixed0:1.13.15-1.module+el8.2.0+7662+fa98b974RHSA-2020:3665
Red Hat Enterprise Linux 8golang-miscFixed0:1.13.15-1.module+el8.2.0+7662+fa98b974RHSA-2020:3665
Red Hat Enterprise Linux 8golang-raceFixed0:1.13.15-1.module+el8.2.0+7662+fa98b974RHSA-2020:3665
Red Hat Enterprise Linux 8golang-srcFixed0:1.13.15-1.module+el8.2.0+7662+fa98b974RHSA-2020:3665
Red Hat Enterprise Linux 8golang-testsFixed0:1.13.15-1.module+el8.2.0+7662+fa98b974RHSA-2020:3665
Red Hat Enterprise Linux 8libslirpFixed0:4.3.1-1.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 8libslirp-develFixed0:4.3.1-1.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 8oci-seccomp-bpf-hookFixed0:1.1.2-3.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 8podmanFixed0:2.0.5-5.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 8podman-catatonitFixed0:2.0.5-5.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 8podman-dockerFixed0:2.0.5-5.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 8podman-gvproxyNot affected
Red Hat Enterprise Linux 8podman-manpagesNot affected
Red Hat Enterprise Linux 8podman-pluginsNot affected
Red Hat Enterprise Linux 8podman-remoteFixed0:2.0.5-5.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 8podman-testsFixed0:2.0.5-5.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 8python-podman-apiFixed0:1.2.0-0.2.gitd0a45fe.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 8python3-criuFixed0:3.14-2.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 8runcFixed0:1.0.0-68.rc92.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 8skopeoFixed1:1.1.1-3.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 8skopeo-testsFixed1:1.1.1-3.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 8slirp4netnsFixed0:1.1.4-2.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 8toolboxFixed0:0.0.8-1.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 8udicaFixed0:0.2.2-1.module+el8.3.0+8221+97165c3fRHSA-2020:4694
Red Hat Enterprise Linux 7golangWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-binWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-docsWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-miscWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-srcWill not fix
Out of support scope
Red Hat Enterprise Linux 7golang-testsWill not fix
Out of support scope
AlmaLinux 8libslirpFixed4.3.1-1.module_el8.6.0+2876+9ed4eae2ALSA-2020:4694
AlmaLinux 8libslirp-develFixed4.3.1-1.module_el8.6.0+2876+9ed4eae2ALSA-2020:4694
AlmaLinux 8python-podman-apiFixed1.2.0-0.2.gitd0a45fe.module_el8.5.0+108+00865455ALSA-2020:4694
Rocky Linux 8libslirpFixed0:4.3.1-1.module+el8.7.0+1076+9b1c11c1RLSA-2020:4694
Rocky Linux 8python-podman-apiFixed0:1.2.0-0.2.gitd0a45fe.module+el8.5.0+770+e2f49861RLSA-2020:4694
Rocky Linux 8toolboxFixed0:0.0.8-1.module+el8.4.0+556+40122d08RLSA-2020:4694
Go librarygolang.org/x/textFixed0.3.3GO-2020-0015

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.