CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5) in golang text. EPSS 1.5% estimated probability of exploitation activity in the next 30 days. Fixed in golang.org/x/text 0.3.7.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hgolang.org/x/text (Go): fixed in 0.3.7Explain CVE-2021-38561 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-38561?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-38561?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-38561 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| golang:text | before 0.3.7 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-ppp9-7jff-5vj2 | Go | golang.org/x/text | <0.3.7 | 0.3.7 |
| GO-2021-0113 | Go | golang.org/x/text | <0.3.7 | 0.3.7 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | golang-golang-x-text | 0.3.7-1 | DEBIAN-CVE-2021-38561 |
| Ubuntu | 16.04:LTS, 20.04:LTS | golang-x-text | no fix listed | UBUNTU-CVE-2021-38561 |
| Ubuntu | 18.04:LTS | golang-x-text | 0.0~git20170627.0.6353ef0-1ubuntu2.1 | UBUNTU-CVE-2021-38561 USN-5873-1 |
| Ubuntu | 20.04:LTS | golang-golang-x-text | 0.3.2-4ubuntu0.1 | UBUNTU-CVE-2021-38561 USN-5873-1 |
| Ubuntu | 22.04:LTS | golang-golang-x-text | 0.3.7-1 | UBUNTU-CVE-2021-38561 USN-5873-1 |
| Red Hat | container_native_virtualization:4.12::el7 | kubevirt, kubevirt-virtctl, kubevirt-virtctl-redistributable | 0:4.12.0-1057.el7 | RHSA-2023:0407 |
| Red Hat | container_native_virtualization:4.12::el8 | kubevirt, kubevirt-virtctl, kubevirt-virtctl-redistributable | 0:4.12.0-1057.el8 | RHSA-2023:0407 |
| Red Hat | openshift:4.11::el8 | cri-o, cri-o-debuginfo, cri-o-debugsource | 0:1.24.5-2.rhaos4.11.gitb007cb6.el8 | RHBA-2023:1649 |
| Red Hat | openshift:4.11::el8 | haproxy, haproxy22, haproxy-debugsource and 1 more | 0:2.2.24-3.rhaos4.11.el8 | RHBA-2023:1649 |
| Red Hat | openshift:4.11::el8 | kernel-rt, kernel-rt-kvm, kernel-rt-core and 15 more | 0:4.18.0-372.51.1.rt7.208.el8_6 | RHBA-2023:1649 |
| Red Hat | openshift:4.11::el8 | openshift, openshift-hyperkube | 0:4.11.0-202304042055.p0.g8f6c8a6.assembly.stream.el8 | RHBA-2023:1649 |
| openSUSE | Tumbleweed | cni | 1.1.2-2.1 | openSUSE-SU-2024:12599-1 |
| openSUSE | Tumbleweed | gitleaks | 8.18.3-1.1 | openSUSE-SU-2024:14015-1 |
| Alpine | v3.16, v3.17, v3.18 and 6 more | git-lfs | 3.1.2-r3 | ALPINE-CVE-2021-38561 |
| Azure Linux | 3 | buildah | 1.41.4-2 | AZL-44952 |
| Azure Linux | 3 | cni | 1.1.2-2 | AZL-41469 |
| Azure Linux | 3 | containernetworking-plugins | 1.6.1-4 | AZL-45375 |
| Azure Linux | 3 | multus | 4.0.2-1 | AZL-41221 |
| Azure Linux | 3 | podman | 5.6.1-2 | AZL-44622 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE · Alpine.
Red Hat rates this Moderate.
This flaw may be triggered only by accepting untrusted user input to the vulnerable golang's library. The overall DoS attack vector depends directly on how the library's input is exposed by the consuming application, thus Red Hat rates impact as Moderate.
In Red Hat Advanced Cluster Management for Kubernetes (RHACM) 2.5 version, the registration-operator, lighthouse-coredns, lighthouse-agent, gatekeeper-operator, and discovery-operator components are affected by this flaw, but the rest of the components are using an already patched version and are unaffected. For 2.4 and previous versions of Red Hat Advanced Cluster Management for Kubernetes (RHACM), most of the components are affected.
| Product | Package | State | Advisory |
|---|---|---|---|
| Logging subsystem for Red Hat OpenShift 5.4 | openshift-logging/elasticsearch-rhel8-operator:v5.4.3-12 | Fixed 2022-07-18 | RHSA-2022:5556 |
| OpenShift Developer Tools and Services for OCP 4.7 | ocp-tools-4/service-binding-operator-bundle:v1.1.1-4 | Fixed 2022-07-07 | RHSA-2022:5525 |
| OpenShift Developer Tools and Services for OCP 4.7 | ocp-tools-4/service-binding-rhel8-operator:v1.1.1-3 | Fixed 2022-07-07 | RHSA-2022:5525 |
| OpenShift Logging 5.2 | openshift-logging/elasticsearch-rhel8-operator:v5.2.13-1 | Fixed 2022-08-04 | RHSA-2022:5909 |
| OpenShift Logging 5.3 | openshift-logging/elasticsearch-rhel8-operator:v5.3.10-1 | Fixed 2022-08-04 | RHSA-2022:5908 |
| Red Hat OpenShift Container Platform 4.11 | cri-o-0:1.24.5-2.rhaos4.11.gitb007cb6.el8 | Fixed 2023-04-12 | RHBA-2023:1649 |
| Red Hat OpenShift Container Platform 4.11 | haproxy-0:2.2.24-3.rhaos4.11.el8 | Fixed 2023-04-12 | RHBA-2023:1649 |
| Red Hat OpenShift Container Platform 4.11 | kernel-rt-0:4.18.0-372.51.1.rt7.208.el8_6 | Fixed 2023-04-12 | RHBA-2023:1649 |
| Red Hat OpenShift Container Platform 4.11 | openshift-0:4.11.0-202304042055.p0.g8f6c8a6.assembly.stream.el8 | Fixed 2023-04-12 | RHBA-2023:1649 |
| Red Hat OpenShift Container Platform 4.11 | openshift4/cloud-event-proxy-rhel8:v4.11.0-202208020706.p0.g642796d.assembly.stream | Fixed 2022-08-10 | RHSA-2022:5070 |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/elasticsearch-proxy-rhel8 | Not affected | |
| Migration Toolkit for Containers | rhmtc/openshift-migration-controller-rhel8 | Not affected | |
| Migration Toolkit for Containers | rhmtc/openshift-migration-velero-restic-restore-helper-rhel8 | Not affected | |
| Migration Toolkit for Containers | rhmtc/openshift-migration-velero-rhel8 | Not affected | |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-must-gather-api-rhel8 | Not affected | |
| OpenShift API for Data Protection | oadp/oadp-velero-restic-restore-helper-rhel8 | Not affected | |
| OpenShift API for Data Protection | oadp/oadp-velero-rhel9 | Not affected | |
| OpenShift Developer Tools and Services | odo | Fix deferred | |
| OpenShift Service Mesh 2.0 | servicemesh | Affected | |
| OpenShift Service Mesh 2.0 | servicemesh-cni | Affected | |
| 385 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-38561.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.