CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8). EPSS 11% estimated probability of exploitation activity in the next 30 days. Fixed in toolchain 1.16.9, 1.17.2.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Htoolchain (Go): fixed in 1.16.9, 1.17.2Explain CVE-2021-38297 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-38297?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-38297?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-38297 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.16.9 |
| golang:go | from 1.17.0 before 1.17.2 |
| fedoraproject:fedora | 34 |
| fedoraproject:fedora | 35 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GO-2022-0247 | Go | toolchain | <1.16.9 >=1.17.0-0 <1.17.2 | 1.16.9, 1.17.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | golang-1.11 | 1.11.6-1+deb10u6 | DLA-3395-1 |
| Debian | 11 | golang-1.15 | 1.15.15-1~deb11u2 | DEBIAN-CVE-2021-38297 |
| Ubuntu | 16.04:LTS | golang-1.6, golang-1.10 | no fix listed | UBUNTU-CVE-2021-38297 |
| Ubuntu | 18.04:LTS | golang-1.8, golang-1.9 | no fix listed | UBUNTU-CVE-2021-38297 |
| Ubuntu | 20.04:LTS | golang-1.13, golang-1.14 | no fix listed | UBUNTU-CVE-2021-38297 |
| Ubuntu | Pro:16.04:LTS, Pro:22.04:LTS | golang-1.13 | no fix listed | UBUNTU-CVE-2021-38297 |
| Ubuntu | Pro:18.04:LTS | golang-1.13, golang-1.16 | no fix listed | UBUNTU-CVE-2021-38297 |
| Ubuntu | Pro:20.04:LTS | golang-1.16 | no fix listed | UBUNTU-CVE-2021-38297 |
| Red Hat | enterprise_linux:8::appstream | delve, delve-debuginfo, delve-debugsource | 0:1.7.2-1.module+el8.6.0+12972+ebab5911 | RHSA-2022:1819 |
| Red Hat | enterprise_linux:8::appstream | golang, go-toolset, golang-bin and 5 more | 0:1.17.7-1.module+el8.6.0+14297+32a15e19 | RHSA-2022:1819 |
| Red Hat | serverless:1.0::el8 | openshift-serverless-clients | 0:0.26.0-2.el8 | RHSA-2022:0432 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP2, Linux Enterprise Module for Development Tools 15 SP3 | go1.16 | 1.16.9-1.29.1 | SUSE-SU-2021:3487-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP2, Linux Enterprise Module for Development Tools 15 SP3 | go1.17 | 1.17.2-1.6.2 | SUSE-SU-2021:3488-1 |
| SUSE | Linux Enterprise Module for Public Cloud 12 | google-guest-agent | 20230221.00-1.29.1 | SUSE-SU-2023:0603-1 |
| SUSE | Linux Enterprise Module for Public Cloud 12 | google-osconfig-agent | 20230222.00-1.20.1 | SUSE-SU-2023:0601-1 |
| SUSE | Linux Enterprise Module for Public Cloud 15 SP1, Linux Enterprise Module for Public Cloud 15 SP2, Linux Enterprise Module for Public Cloud 15 SP3 and 1 more | google-guest-agent | 20230221.00-150000.1.34.1 | SUSE-SU-2023:0600-1 |
| SUSE | Linux Enterprise Module for Public Cloud 15 SP1, Linux Enterprise Module for Public Cloud 15 SP2, Linux Enterprise Module for Public Cloud 15 SP3 and 1 more | google-osconfig-agent | 20230222.00-150000.1.27.1 | SUSE-SU-2023:0602-1 |
| openSUSE | Leap 15.2 | go1.16 | 1.16.9-lp152.14.1 | openSUSE-SU-2021:1420-1 |
| openSUSE | Leap 15.3 | go1.16 | 1.16.9-1.29.1 | openSUSE-SU-2021:3487-1 |
| openSUSE | Leap 15.3 | go1.17 | 1.17.2-1.6.2 | openSUSE-SU-2021:3488-1 |
| openSUSE | Leap 15.4 | google-guest-agent | 20230221.00-150000.1.34.1 | SUSE-SU-2023:0600-1 |
| openSUSE | Leap 15.4 | google-osconfig-agent | 20230222.00-150000.1.27.1 | SUSE-SU-2023:0602-1 |
| openSUSE | Tumbleweed | go1.16 | 1.16.9-1.1 | openSUSE-SU-2024:11567-1 |
| openSUSE | Tumbleweed | go1.17 | 1.17.2-1.1 | openSUSE-SU-2024:11568-1 |
| openSUSE | Tumbleweed | google-guest-agent | 20230221.00-2.1 | openSUSE-SU-2024:12758-1 |
| openSUSE | Tumbleweed | google-osconfig-agent | 20230222.00-2.1 | openSUSE-SU-2024:12759-1 |
| AlmaLinux | 8 | delve | 1.7.2-1.module_el8.6.0+2736+ec10aba8 | ALSA-2022:1819 |
| AlmaLinux | 8 | golang, go-toolset, golang-bin and 5 more | 1.17.7-1.module_el8.6.0+2736+ec10aba8 | ALSA-2022:1819 |
| Rocky Linux | 8 | delve | 0:1.7.2-1.module+el8.6.0+824+8e984c20 | RLSA-2022:1819 |
| Rocky Linux | 8 | golang, go-toolset | 0:1.17.7-1.module+el8.6.0+824+8e984c20 | RLSA-2022:1819 |
| Alpine | v3.15, v3.16, v3.17 and 7 more | go | 1.17.2-r0 | ALPINE-CVE-2021-38297 |
| Azure Linux | 2 | golang | 1.17.8-1 | AZL-6450 |
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; AlmaLinux's OSV database, MIT; 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.
* Although this flaw has a higher CVSS score, in a strict sense, the flaw could possibly enable code exec, either Red Hat products don't use WASM, or don't expose WASM functions in a way that makes code exec possible. For this reason, the Red Hat impact for this flaw is Moderate.
* Because the flawed code is not actually used in Service Telemetry Framework1.3, no update will be provided at this time for STF's sg-core-container.
*For a WASM Module to be vulnerable, it needs to be built using GOARCH=wasm GOOS=js (build options for WebAssembly).
*CVE-2021-38297 is a vulnerability that affects Go (golang). It has been fixed in versions 1.17.2 and 1.16.9.
*CVE-2021-38297 does not affect the OpenShift Container Platform (OCP) because it does not build anything with GOARCH=wasm GOOS=js. Hence, OCP-based services are not affected either.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Openshift Serveless 1.20 | openshift-serverless-1/client-kn-rhel8:0.26.0-1 | Fixed 2022-02-03 | RHSA-2022:0434 |
| Openshift Serveless 1.20 | openshift-serverless-1/eventing-apiserver-receive-adapter-rhel8:0.26.0-1 | Fixed 2022-02-03 | RHSA-2022:0434 |
| Openshift Serveless 1.20 | openshift-serverless-1/eventing-controller-rhel8:0.26.0-1 | Fixed 2022-02-03 | RHSA-2022:0434 |
| Openshift Serveless 1.20 | openshift-serverless-1/eventing-in-memory-channel-controller-rhel8:0.26.0-1 | Fixed 2022-02-03 | RHSA-2022:0434 |
| Openshift Serveless 1.20 | openshift-serverless-1/eventing-in-memory-channel-dispatcher-rhel8:0.26.0-1 | Fixed 2022-02-03 | RHSA-2022:0434 |
| Openshift Serveless 1.20 | openshift-serverless-1/eventing-mtbroker-filter-rhel8:0.26.0-1 | Fixed 2022-02-03 | RHSA-2022:0434 |
| Openshift Serveless 1.20 | openshift-serverless-1/eventing-mtbroker-ingress-rhel8:0.26.0-1 | Fixed 2022-02-03 | RHSA-2022:0434 |
| Openshift Serveless 1.20 | openshift-serverless-1/eventing-mtchannel-broker-rhel8:0.26.0-1 | Fixed 2022-02-03 | RHSA-2022:0434 |
| Openshift Serveless 1.20 | openshift-serverless-1/eventing-mtping-rhel8:0.26.0-1 | Fixed 2022-02-03 | RHSA-2022:0434 |
| Openshift Serveless 1.20 | openshift-serverless-1/eventing-storage-version-migration-rhel8:0.26.0-1 | Fixed 2022-02-03 | RHSA-2022:0434 |
| Distributed Tracing Jaeger 1 | distributed-tracing/jaeger-all-in-one-rhel8 | Not affected | |
| Migration Toolkit for Containers | rhmtc/openshift-migration-rhel8-operator | Not affected | |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-controller-rhel9 | Not affected | |
| OpenShift Serverless | knative-eventing | Affected | |
| OpenShift Serverless | knative-serving | Affected | |
| OpenShift Service Mesh 2.0 | servicemesh | Not affected | |
| OpenShift Service Mesh 2.0 | servicemesh-grafana | Not affected | |
| OpenShift Service Mesh 2.0 | servicemesh-operator | Not affected | |
| OpenShift Service Mesh 2.0 | servicemesh-prometheus | Not affected | |
| Red Hat Advanced Cluster Security 3 | rox | Affected | |
| 144 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-38297.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).