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 go. EPSS 2.5% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.15.9, 1.16.1.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hstdlib (Go): fixed in 1.15.9, 1.16.1Explain CVE-2021-27918 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-27918?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-27918?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-27918 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.15.9 |
| golang:go | from 1.16.0 before 1.16.1 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GO-2021-0234 | Go | stdlib | <1.15.9 >=1.16.0-0 <1.16.1 | 1.15.9, 1.16.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | golang-1.15 | 1.15.9-1 | DEBIAN-CVE-2021-27918 |
| Ubuntu | 14.04:LTS | golang-1.10 | no fix listed | UBUNTU-CVE-2021-27918 |
| Ubuntu | 16.04:LTS | golang-1.6, golang-1.10 | no fix listed | UBUNTU-CVE-2021-27918 |
| Ubuntu | 18.04:LTS | golang-1.8, golang-1.9, golang-1.10 | no fix listed | UBUNTU-CVE-2021-27918 |
| Ubuntu | 20.04:LTS | golang-1.13, golang-1.14 | no fix listed | UBUNTU-CVE-2021-27918 |
| Ubuntu | Pro:16.04:LTS, Pro:18.04:LTS, Pro:22.04:LTS | golang-1.13 | no fix listed | UBUNTU-CVE-2021-27918 |
| Red Hat | enterprise_linux:8::appstream | delve, delve-debuginfo, delve-debugsource | 0:1.5.0-2.module+el8.4.0+8864+58b0fcdb | RHSA-2021:3076 |
| Red Hat | enterprise_linux:8::appstream | golang, go-toolset, golang-bin and 5 more | 0:1.15.14-1.module+el8.4.0+11833+614b07b8 | RHSA-2021:3076 |
| Red Hat | serverless:1.0::el8 | openshift-serverless-clients | 0:0.22.0-3.el8 | RHSA-2021:2704 |
| Red Hat | serverless:1.0::el8 | openshift-serverless-clients | 0:0.23.2-1.el8 | RHSA-2021:3555 |
| 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.10-1.25.1 | SUSE-SU-2021:0938-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP2 | go1.16 | 1.16.2-1.8.1 | SUSE-SU-2021:0937-1 |
| openSUSE | Leap 15.2 | go1.15 | 1.15.10-lp152.14.1 | openSUSE-SU-2021:0480-1 |
| openSUSE | Tumbleweed | go1.15 | 1.15.15-1.2 | openSUSE-SU-2024:10808-1 |
| openSUSE | Tumbleweed | go1.16 | 1.16.8-1.1 | openSUSE-SU-2024:10809-1 |
| Rocky Linux | 8 | delve | 0:1.5.0-2.module+el8.4.0+396+d2d16ae3 | RLSA-2021:3076 |
| Rocky Linux | 8 | golang, go-toolset | 0:1.15.14-1.module+el8.4.0+632+4dba2916 | RLSA-2021:3076 |
| Alpine | v3.13 | go | 1.15.10-r0 | ALPINE-CVE-2021-27918 |
| Alpine | v3.14, v3.15, v3.16 and 8 more | go | 1.16.2-r0 | ALPINE-CVE-2021-27918 |
| Azure Linux | 3 | golang | no fix listed | AZL-79104 AZL-98703 |
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; 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 · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
OpenShift Container Platform (OCP), OpenShift ServiceMesh (OSSM), Red Hat OpenShift Jaeger (RHOSJ) and OpenShift Virtualization all bundle vulnerable versions of the golang standard library (stdlib). However, no component within each product utilizes the function xml.NewTokenDecoder which is a requirement to be vulnerable. Hence, all affected components are marked as "Will not fix". Additionally no OCP container has been listed, as nearly all available containers are compiled with an affected version of Go, but do not utilize the function xml.NewTokenDecoder.
Red Hat Ceph Storage (RHCS), Red Hat Gluster Storage 3 and OpenShift Container Storage 4 also bundles a vulnerable version of golang standard library 'encoding/xml', but does not utilize the function xml.NewTokenDecoder, and hence this issue has been rated as having a security impact of Low.
| Product | Package | State | Advisory |
|---|---|---|---|
| Openshift Serveless 1.16 | openshift-serverless-1/client-kn-rhel8:0.22.0-4 | Fixed 2021-07-13 | RHSA-2021:2705 |
| Openshift Serveless 1.16 | openshift-serverless-1/eventing-apiserver-receive-adapter-rhel8:0.22.0-2 | Fixed 2021-07-13 | RHSA-2021:2705 |
| Openshift Serveless 1.16 | openshift-serverless-1/eventing-controller-rhel8:0.22.0-2 | Fixed 2021-07-13 | RHSA-2021:2705 |
| Openshift Serveless 1.16 | openshift-serverless-1/eventing-in-memory-channel-controller-rhel8:0.22.0-2 | Fixed 2021-07-13 | RHSA-2021:2705 |
| Openshift Serveless 1.16 | openshift-serverless-1/eventing-in-memory-channel-dispatcher-rhel8:0.22.0-2 | Fixed 2021-07-13 | RHSA-2021:2705 |
| Openshift Serveless 1.16 | openshift-serverless-1/eventing-mtbroker-filter-rhel8:0.22.0-2 | Fixed 2021-07-13 | RHSA-2021:2705 |
| Openshift Serveless 1.16 | openshift-serverless-1/eventing-mtbroker-ingress-rhel8:0.22.0-2 | Fixed 2021-07-13 | RHSA-2021:2705 |
| Openshift Serveless 1.16 | openshift-serverless-1/eventing-mtchannel-broker-rhel8:0.22.0-2 | Fixed 2021-07-13 | RHSA-2021:2705 |
| Openshift Serveless 1.16 | openshift-serverless-1/eventing-mtping-rhel8:0.22.0-2 | Fixed 2021-07-13 | RHSA-2021:2705 |
| Openshift Serveless 1.16 | openshift-serverless-1/eventing-storage-version-migration-rhel8:0.22.0-2 | Fixed 2021-07-13 | RHSA-2021:2705 |
| Distributed Tracing Jaeger 1 | distributed-tracing/jaeger-all-in-one-rhel8 | Will not fix | |
| Distributed Tracing Jaeger 1 | distributed-tracing/jaeger-collector-rhel8 | Will not fix | |
| Distributed Tracing Jaeger 1 | distributed-tracing/jaeger-rhel8-operator | Will not fix | |
| OpenShift Serverless | knative-eventing | Will not fix | |
| OpenShift Serverless | knative-serving | Will not fix | |
| OpenShift Service Mesh 2.0 | servicemesh | Will not fix | |
| OpenShift Service Mesh 2.0 | servicemesh-grafana | Will not fix | |
| OpenShift Service Mesh 2.0 | servicemesh-operator | Will not fix | |
| OpenShift Service Mesh 2.0 | servicemesh-prometheus | Will not fix | |
| Red Hat Ceph Storage 2 | golang | Out of support scope | |
| 105 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-27918.