The x/text package before 0.3.3 for Go has a vulnerability in encoding/unicode that could…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 21 fixed, 15 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-835.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | golang.org/x/text (Go) | before 0.3.3 | 0.3.3 | Patch available | GHSA-5rcv-m4m3-hfh7 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- golang.org/x/text (Go) Vendor— Affected before 0.3.3 Fixed in 0.3.3 Patch available GHSA-5rcv-m4m3-hfh7
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:golang:text:*:*:*:*:*:*:*:* | before 0.3.3 | Vulnerable | Go standard library |
| cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* | 32 | Vulnerable | Fedoraproject |
- cpe:2.3:a:golang:text:*:*:*:*:*:*:*:* Versions before 0.3.3 Vulnerable ·Go standard library
- cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* Versions 32 Vulnerable ·Fedoraproject
Remediation
- Fix · GHSA-5rcv-m4m3-hfh7 golang.org/x/text (Go) Fixed in 0.3.3 Advisory →
Red Hat 28 advisories
- RHSA-2021:3140 Released 2021-08-11 · Red Hat rating ModerateRed Hat Fuse 7.9.0 release and security update
- Red Hat Fuse 7.9
- RHSA-2021:2039 Released 2021-05-19 · Red Hat rating ModerateService Registry (container images) release and security update [1.1.1.GA]
- Red Hat Integration
- RHSA-2021:1369 Released 2021-04-26 · Red Hat rating ModerateRed Hat Advanced Cluster Management 2.1.6 security and bug fix updates
- Red Hat Advanced Cluster Management for Kubernetes 2.1 for RHEL 8 rhacm2/acm-must-gather-rhel8
Show 25 more Red Hat advisories
- RHSA-2021:1168 Released 2021-04-13 · Red Hat rating ImportantRed Hat Advanced Cluster Management 2.2.2 security and bug fix update
- Red Hat Advanced Cluster Management for Kubernetes 2.2 for RHEL 7 rhacm2/management-ingress-rhel7, rhacm2/memcached-exporter-rhel7, rhacm2/openshift-hive-rhel7 +2
- Red Hat Advanced Cluster Management for Kubernetes 2.2 for RHEL 8 rhacm2/acm-must-gather-rhel8, rhacm2/acm-operator-bundle, rhacm2/acmesolver-rhel8 +47
- RHSA-2021:1129 Released 2021-04-08 · Red Hat rating ModerateRed Hat 3scale API Management 2.10.0 security update and release
- Red Hat 3Scale AMP 2.10 3scale-amp2/3scale-rhel7-operator, 3scale-amp2/3scale-rhel7-operator-metadata, 3scale-amp2/apicast-rhel7-operator +1
- RHSA-2021:0980 Released 2021-03-24 · Red Hat rating ModerateRed Hat Advanced Cluster Management 2.1.5 security and bug fix update
- Red Hat Advanced Cluster Management for Kubernetes 2.1 for RHEL 8 rhacm2/acm-must-gather-rhel8
- RHSA-2021:0799 Released 2021-03-10 · Red Hat rating ModerateOpenShift Virtualization 2.6.0 security and bug fix update
- CNV 2.6 for RHEL 8 container-native-virtualization/kubevirt-cpu-model-nfd-plugin, container-native-virtualization/kubevirt-cpu-node-labeller, container-native-virtualization/kubevirt-kvm-info-nfd-plugin +2
- RHSA-2020:5635 Released 2021-02-24 · Red Hat rating ModerateOpenShift Container Platform 4.7.0 extras and security update
- Red Hat OpenShift Container Platform 4.7 openshift4/ose-cluster-capacity, openshift4/ose-cluster-nfd-operator, openshift4/ose-metering-helm-container-rhel8 +2
- RHSA-2021:0420 Released 2021-02-04 · Red Hat rating ModerateRed Hat Quay v3.4.0 security update
- Quay v3 quay/clair-rhel8, quay/quay-bridge-operator-bundle, quay/quay-bridge-operator-rhel8 +8
- RHSA-2020:5605 Released 2020-12-17 · Red Hat rating ModerateRed Hat OpenShift Container Storage 4.6.0 security, bug fix, enhancement update
- Red Hat OpenShift Container Storage 4.6 on RHEL-8 ocs4/cephcsi-rhel8, ocs4/mcg-core-rhel8, ocs4/mcg-rhel8-operator +3
- RHSA-2020:5606 Released 2020-12-17 · Red Hat rating ModerateRed Hat OpenShift Container Storage 4.6 bug fix and enhancement update
- Red Hat OpenShift Container Storage 4.6 on RHEL-8 mcg-5.6.0-39.2279a46.5.6.el8
- RHSA-2020:5198 Released 2020-11-24 · Red Hat rating ModerateRed Hat OpenShift Jaeger security update
- Red Hat OpenShift Jaeger 1.20 distributed-tracing/jaeger-agent-rhel8, distributed-tracing/jaeger-all-in-one-rhel8, distributed-tracing/jaeger-collector-rhel8 +3
- RHSA-2020:5149 Released 2020-11-18 · Red Hat rating ModerateRelease of OpenShift Serverless 1.11.0
- Openshift Serverless 1.11 openshift-serverless-1/client-kn-rhel8, openshift-serverless-1/eventing-apiserver-receive-adapter-rhel8, openshift-serverless-1/eventing-controller-rhel8 +23
- RHSA-2020:5055 Released 2020-11-10 · Red Hat rating Moderatebuildah security update
- Red Hat Enterprise Linux 7 Extras buildah-1.11.6-12.el7_9
- RHSA-2020:5056 Released 2020-11-10 · Red Hat rating Moderatepodman security and bug fix update
- Red Hat Enterprise Linux 7 Extras podman-1.6.4-26.el7_9, podman-docker-1.6.4-26.el7_9
- RHSA-2020:5054 Released 2020-11-10 · Red Hat rating Moderateskopeo security update
- Red Hat Enterprise Linux 7 Extras containers-common-1:0.1.40-12.el7_9, skopeo-1:0.1.40-12.el7_9
- RHSA-2020:4694 Released 2020-11-04 · Red Hat rating Moderatecontainer-tools:rhel8 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) buildah-1.15.1-2.module+el8.3.0+8221+97165c3f.aarch64::container-tools:rhel8, buildah-1.15.1-2.module+el8.3.0+8221+97165c3f.ppc64le::container-tools:rhel8, buildah-1.15.1-2.module+el8.3.0+8221+97165c3f.s390x::container-tools:rhel8 +47
- RHSA-2020:4298 Released 2020-10-27 · Red Hat rating ModerateOpenShift Container Platform 4.6.1 image security update
- Red Hat OpenShift Container Platform 4.6 openshift4/ose-ansible-operator, openshift4/ose-aws-machine-controllers, openshift4/ose-azure-machine-controllers +47
- RHSA-2020:4297 Released 2020-10-27 · Red Hat rating ModerateOpenShift Container Platform 4.6.1 package security update
- Red Hat OpenShift Container Platform 4.6 containers-common-1:1.1.1-2.rhaos4.6.el8, jenkins-2-plugins-4.6.1601368321-1.el8, openshift-clients-4.6.0-202010081244.p0.git.3794.4743d24.el7 +11
- RHSA-2020:4214 Released 2020-10-08 · Red Hat rating Moderatego-toolset-1.13-golang security and bug fix update
- Red Hat Developer Tools for Red Hat Enterprise Linux Server (v. 7) go-toolset-1.13-1.13.15-1.el7, go-toolset-1.13-build-1.13.15-1.el7, go-toolset-1.13-golang-1.13.15-3.el7 +7
- Red Hat Developer Tools for Red Hat Enterprise Linux Workstation (v. 7) go-toolset-1.13-1.13.15-1.el7, go-toolset-1.13-build-1.13.15-1.el7, go-toolset-1.13-golang-1.13.15-3.el7 +7
- RHSA-2020:3783 Released 2020-09-22 · Red Hat rating ModerateOpenShift Container Platform 4.4.23 cluster-network-operator-container security update
- Red Hat OpenShift Container Platform 4.4 openshift4/ose-cluster-network-operator
- RHSA-2020:3780 Released 2020-09-21 · Red Hat rating ModerateOpenShift Container Platform 4.5.11 ose-cluster-svcat-apiserver-operator-container security update
- Red Hat OpenShift Container Platform 4.5 openshift4/ose-cluster-svcat-apiserver-operator
- RHSA-2020:3727 Released 2020-09-16 · Red Hat rating ModerateOpenShift Container Platform 3.11.286 security update
- Red Hat OpenShift Container Platform 3.11 openshift3/ose-docker-registry, openshift3/ose-logging-kibana5
- RHSA-2020:3578 Released 2020-09-08 · Red Hat rating ModerateOpenShift Container Platform 4.5.8 security update
- Red Hat OpenShift Container Platform 4.5 openshift4/ose-cluster-network-operator, openshift4/ose-cluster-version-operator, openshift4/ose-elasticsearch-operator +1
- RHSA-2020:3665 Released 2020-09-08 · Red Hat rating Moderatego-toolset:rhel8 security update
- Red Hat Enterprise Linux AppStream (v. 8) delve-1.3.2-3.module+el8.2.0+5581+896cb53e.src::go-toolset:rhel8, delve-1.3.2-3.module+el8.2.0+5581+896cb53e.x86_64::go-toolset:rhel8, go-toolset-1.13.15-1.module+el8.2.0+7662+fa98b974.aarch64::go-toolset:rhel8 +18
- RHSA-2020:3372 Released 2020-08-06 · Red Hat rating ModerateRed Hat OpenShift Service Mesh 3scale-istio-adapter-rhel8-container security update
- OpenShift Service Mesh 1.0 openshift-service-mesh/3scale-istio-adapter-rhel8
- RHSA-2020:3369 Released 2020-08-06 · Red Hat rating ModerateRed Hat OpenShift Service Mesh security update
- OpenShift Service Mesh 1.1 ior-1.1.6-1.el8, servicemesh-1.1.6-1.el8, servicemesh-citadel-1.1.6-1.el8 +12
- Red Hat OpenShift Service Mesh 1.1 kiali-v1.12.10.redhat2-1.el7
- RHSA-2020:3087 Released 2020-07-22 · Red Hat rating ModerateRed Hat OpenShift Jaeger 1.17.5 container images security update
- Red Hat OpenShift Jaeger 1.17 distributed-tracing/jaeger-agent-rhel7, distributed-tracing/jaeger-all-in-one-rhel7, distributed-tracing/jaeger-collector-rhel7 +3
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Developer Tools and Services | Affected | No fix planned: Out of support scope |
| OpenShift Service Mesh 1 | Affected | No fix planned: Out of support scope |
| Red Hat Advanced Cluster Management for Kubernetes 2 | Affected | No fix yet |
| Red Hat Ceph Storage 2 | Affected | No fix planned: Out of support scope |
| Red Hat Ceph Storage 3 | Affected | No fix planned: Will not fix |
| Red Hat Ceph Storage 4 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Container Platform 3.11 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenShift Virtualization 1 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Virtualization 2 | Affected | No fix yet |
| Red Hat Storage 3 | Affected | No fix planned: Will not fix |
| Service Telemetry Framework 1.2 for RHEL 8 | Affected | No fix planned: Will not fix |
| Service Telemetry Framework 1.3 for RHEL 8 | Affected | No fix planned: Will not fix |
| OpenShift Service Mesh 1.0 | Fixed | RHSA-2020:3372 |
| OpenShift Service Mesh 1.1 | Fixed | RHSA-2020:3369 |
| Openshift Serverless 1.11 | Fixed | RHSA-2020:5149 |
| Quay v3 | Fixed | RHSA-2021:0420 |
| Red Hat 3Scale AMP 2.10 | Fixed | RHSA-2021:1129 |
| Red Hat Advanced Cluster Management for Kubernetes 2.1 for RHEL 8 | Fixed | RHSA-2021:0980, RHSA-2021:1369 |
| Red Hat Developer Tools for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2020:4214 |
| Red Hat Developer Tools for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2020:4214 |
| Red Hat Enterprise Linux 7 Extras | Fixed | RHSA-2020:5054, RHSA-2020:5055, RHSA-2020:5056 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2020:3665, RHSA-2020:4694 |
| Red Hat Fuse 7.9 | Fixed | RHSA-2021:3140 |
| Red Hat Integration | Fixed | RHSA-2021:2039 |
| Red Hat OpenShift Container Platform 3.11 | Fixed | RHSA-2020:3727 |
| Red Hat OpenShift Container Platform 4.4 | Fixed | RHSA-2020:3783 |
| Red Hat OpenShift Container Platform 4.5 | Fixed | RHSA-2020:3578, RHSA-2020:3780 |
| Red Hat OpenShift Container Platform 4.6 | Fixed | RHSA-2020:4297, RHSA-2020:4298 |
| Red Hat OpenShift Container Platform 4.7 | Fixed | RHSA-2020:5633, RHSA-2020:5635 |
| Red Hat OpenShift Container Storage 4.6 on RHEL-8 | Fixed | RHSA-2020:5605, RHSA-2020:5606 |
| Red Hat OpenShift Jaeger 1.17 | Fixed | RHSA-2020:3087 |
| Red Hat OpenShift Jaeger 1.20 | Fixed | RHSA-2020:5198 |
| Red Hat OpenShift Service Mesh 1.1 | Fixed | RHSA-2020:3369 |
Not affected: 12 products
- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 3.11
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 4.5
- Red Hat OpenShift Container Platform 4.6
- Red Hat OpenShift Container Platform 4.7
- Red Hat OpenShift Container Storage 4.6 on RHEL-8
- Red Hat OpenShift Jaeger 1.20
- Red Hat OpenShift Virtualization 2
- Red Hat Storage 3
Timeline
- 2026-10-02 Threatist record created from CVE-2020-14040
- 2026-10-03 Alias added: GHSA-5rcv-m4m3-hfh7
References
Other 10
- https://groups.google.com/forum/#%21topic/golang-announce/bXVeAmGOqz0
- https://github.com/golang/go/issues/39491
- https://github.com/golang/text/commit/23ae387dee1f90d29a23c0e87ee0b46038fbed0e
- https://go-review.googlesource.com/c/text/+/238238
- https://go.dev/cl/238238
- https://go.dev/issue/39491
- https://go.googlesource.com/text/+/23ae387dee1f90d29a23c0e87ee0b46038fbed0e
- https://groups.google.com/forum/#!topic/golang-announce/bXVeAmGOqz0
- https://groups.google.com/g/golang-announce/c/bXVeAmGOqz0
- https://lists.fedoraproject.org/archives/list/[email protected]/message/TACQFZDPA7AUR6TRZBCX2RGRFSDYLI7O
Sources
- CVE-2020-14040 · CVE Program
- CVE-2020-14040 · NVD
- FIRST EPSS
- GHSA-5rcv-m4m3-hfh7 · GitHub Advisory Database · CC BY 4.0
- CVE-2020-14040 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences