CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HHigh (7.5). EPSS 6.9% estimated probability of exploitation activity in the next 30 days. Fixed in toolchain 1.14.14, 1.15.7.
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:Htoolchain (Go): fixed in 1.14.14, 1.15.7Explain CVE-2021-3115 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3115?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3115?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-3115 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:go | before 1.14.14 |
| golang:go | from 1.15 before 1.15.7 |
| fedoraproject:fedora | 33 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GO-2021-0068 | Go | toolchain | <1.14.14 >=1.15.0-0 <1.15.7 | 1.14.14, 1.15.7 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | golang-1.15 | 1.15.7-1 | DEBIAN-CVE-2021-3115 |
| Red Hat | enterprise_linux:8::appstream | delve, delve-debuginfo, delve-debugsource | 0:1.5.0-2.module+el8.4.0+8864+58b0fcdb | RHSA-2021:1746 |
| Red Hat | enterprise_linux:8::appstream | golang, go-toolset, golang-bin and 5 more | 0:1.15.7-1.module+el8.4.0+9580+3b0e6c24 | RHSA-2021:1746 |
| Red Hat | serverless:1.0::el8 | openshift-serverless-clients | 0:0.20.0-6.el8 | RHSA-2021:1339 |
| Red Hat | serverless:1.0::el8 | openshift-serverless-clients | 0:0.20.0-7.el8 | RHSA-2021:2095 |
| SUSE | Enterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 more | go1.14 | 1.14.14-1.32.1 | SUSE-SU-2021:0222-1 |
| SUSE | Enterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 more | go1.15 | 1.15.7-1.17.1 | SUSE-SU-2021:0223-1 |
| openSUSE | Leap 15.1 | go1.14 | 1.14.14-lp151.28.1 | openSUSE-SU-2021:0190-1 |
| openSUSE | Leap 15.2 | go1.14 | 1.14.14-lp152.2.18.1 | openSUSE-SU-2021:0194-1 |
| openSUSE | Leap 15.2 | go1.15 | 1.15.7-lp152.8.1 | openSUSE-SU-2021:0192-1 |
| openSUSE | Tumbleweed | go1.14 | 1.14.15-1.6 | openSUSE-SU-2024:10807-1 |
| openSUSE | Tumbleweed | go1.15 | 1.15.15-1.2 | openSUSE-SU-2024:10808-1 |
| Rocky Linux | 8 | delve | 0:1.5.0-2.module+el8.4.0+396+d2d16ae3 | RLSA-2021:1746 |
| Rocky Linux | 8 | golang, go-toolset | 0:1.15.7-1.module+el8.4.0+396+d2d16ae3 | RLSA-2021:1746 |
| Alpine | v3.13, v3.14, v3.15 and 9 more | go | 1.15.7-r0 | ALPINE-CVE-2021-3115 |
| Azure Linux | 3 | python-tensorboard | 2.16.2-1 | AZL-38572 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause; 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 · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
While OpenShift Container Platform (OCP), Red Hat OpenShift Jaeger (RHOSJ), OpenShift Service Mesh (OSSM) and OpenShift Virtualization all contain RPMs and containers which are compiled with a vulnerable version of Go, the vulnerability is specific to the building of Go code itself. Hence the relevant components have been marked as not affected.
Additionally, only the main RPMs and containers for OCP, RHOSJ, OSSM and OpenShift Virtualization are represented due to the large volume of not affected components.
The flaw can be mitigated by making sure "." is not in your PATH environment variable.
| Product | Package | State | Advisory |
|---|---|---|---|
| Openshift Serveless 1.10 | openshift-serverless-1/client-kn-rhel8:0.16.1-4 | Fixed 2021-05-19 | RHSA-2021:2021 |
| Openshift Serveless 1.10 | openshift-serverless-1/ingress-rhel8-operator:1.10.2-1 | Fixed 2021-05-19 | RHSA-2021:2021 |
| Openshift Serveless 1.10 | openshift-serverless-1/knative-rhel8-operator:1.10.2-1 | Fixed 2021-05-19 | RHSA-2021:2021 |
| Openshift Serveless 1.10 | openshift-serverless-1/kn-cli-artifacts-rhel8:0.16.1-4 | Fixed 2021-05-19 | RHSA-2021:2021 |
| Openshift Serveless 1.10 | openshift-serverless-1/kourier-control-rhel8:0.16.0-7 | Fixed 2021-05-19 | RHSA-2021:2021 |
| Openshift Serveless 1.10 | openshift-serverless-1/serverless-operator-bundle:1.10.2-4 | Fixed 2021-05-19 | RHSA-2021:2021 |
| Openshift Serveless 1.10 | openshift-serverless-1/serverless-rhel8-operator:1.10.2-1 | Fixed 2021-05-19 | RHSA-2021:2021 |
| Openshift Serveless 1.10 | openshift-serverless-1/serving-activator-rhel8:0.16.0-6 | Fixed 2021-05-19 | RHSA-2021:2021 |
| Openshift Serveless 1.10 | openshift-serverless-1/serving-autoscaler-hpa-rhel8:0.16.0-6 | Fixed 2021-05-19 | RHSA-2021:2021 |
| Openshift Serveless 1.10 | openshift-serverless-1/serving-autoscaler-rhel8:0.16.0-6 | Fixed 2021-05-19 | RHSA-2021:2021 |
| Distributed Tracing Jaeger 1 | distributed-tracing/jaeger-all-in-one-rhel7 | Not affected | |
| Distributed Tracing Jaeger 1 | distributed-tracing/jaeger-all-in-one-rhel8 | Not affected | |
| Distributed Tracing Jaeger 1 | jaeger-rhel7-operator | Not affected | |
| Distributed Tracing Jaeger 1 | jaeger-rhel8-operator | Not affected | |
| OpenShift Serverless | knative-eventing | Affected | |
| OpenShift Serverless | knative-serving | Affected | |
| OpenShift Service Mesh 1 | kiali | Not affected | |
| OpenShift Service Mesh 1 | servicemesh | Not affected | |
| OpenShift Service Mesh 1 | servicemesh-operator | Not affected | |
| OpenShift Service Mesh 2.0 | kiali | Not affected | |
| 66 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-3115.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.