cve.bz

CVE-2021-33195 Injection

7.3 highExploit referenceEPSS 3.2%Fix available

High (7.3). EPSS 3.2% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.15.13, 1.16.5.

On this page
Go before 1.15.13 and 1.16.x before 1.16.5 has functions for DNS lookups that do not validate replies from DNS servers, and thus a return value may contain an unsafe injection (e.g., XSS) that does not conform to the RFC1035 format.

Severity

CVSS 3.1

7.3 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS
3.2% (unchanged from 3.2% a week ago; 3.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-33195 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-33195?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-33195?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-33195 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.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
golang:gobefore 1.15.13
golang:gofrom 1.16.0 before 1.16.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2021-0239Gostdlib<1.15.13
>=1.16.0-0 <1.16.5
1.15.13, 1.16.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11golang-1.151.15.9-5DEBIAN-CVE-2021-33195
Ubuntu18.04:LTSgolang-1.8no fix listedUBUNTU-CVE-2021-33195
UbuntuPro:18.04:LTS, Pro:20.04:LTSgolang-1.16no fix listedUBUNTU-CVE-2021-33195
Red Hatcontainer_native_virtualization:2.6::el7kubevirt, kubevirt-virtctl, kubevirt-virtctl-redistributable0:2.6.10-230.el7RHSA-2022:1402
Red Hatcontainer_native_virtualization:2.6::el8kubevirt, kubevirt-virtctl, kubevirt-virtctl-redistributable0:2.6.10-230.el8RHSA-2022:1402
Red Hatcontainer_native_virtualization:4.8::el7kubevirt, kubevirt-virtctl, kubevirt-virtctl-redistributable0:4.8.5-278.el7RHSA-2022:1329
Red Hatcontainer_native_virtualization:4.8::el8kubevirt, kubevirt-virtctl, kubevirt-virtctl-redistributable0:4.8.5-278.el8RHSA-2022:1329
Red Hatdevtools:2021go-toolset-1.15-golang, go-toolset-1.15-golang-bin, go-toolset-1.15-golang-src and 4 more0:1.15.14-2.el7_9RHSA-2021:3431
Red Hatenterprise_linux:8::appstreamdelve, delve-debuginfo, delve-debugsource0:1.6.0-1.module+el8.5.0+10379+d6b83bd0RHSA-2021:4156
Red Hatenterprise_linux:8::appstreamgolang, go-toolset, golang-bin and 5 more0:1.16.7-1.module+el8.5.0+12246+1aac4e3fRHSA-2021:4156
Red Hatenterprise_linux:8::appstreamgrafana, grafana-debuginfo0:7.5.9-4.el8RHSA-2021:4226
Red Hatenterprise_linux:9::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more1:1.27.0-2.el9RHSA-2022:8008
Red Hatopenshift:4.6::el8ignition, ignition-validate, ignition-debuginfo and 2 more0:2.6.0-8.rhaos4.6.git947598e.el8RHSA-2021:3009
Red Hatopenshift:4.7::el7cri-o, cri-o-debuginfo0:1.20.4-7.rhaos4.7.git6287500.el7RHBA-2021:2979
Red Hatopenshift:4.7::el7openshift, openshift-hyperkube0:4.7.0-202107292242.p0.git.558d959.assembly.stream.el7RHBA-2021:2979
23 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 8 morego1.151.15.13-1.33.1SUSE-SU-2021:2214-1
SUSELinux Enterprise Module for Development Tools 15 SP2, Linux Enterprise Module for Development Tools 15 SP3go1.161.16.5-1.17.1SUSE-SU-2021:2186-1
openSUSELeap 15.2go1.151.15.13-lp152.20.1openSUSE-SU-2021:0950-1
openSUSELeap 15.3go1.151.15.13-1.33.1openSUSE-SU-2021:2214-1
openSUSELeap 15.3go1.161.16.5-1.17.1openSUSE-SU-2021:2186-1
openSUSETumbleweedgo1.151.15.15-1.2openSUSE-SU-2024:10808-1
openSUSETumbleweedgo1.161.16.8-1.1openSUSE-SU-2024:10809-1
AlmaLinux8delve1.6.0-1.module_el8.5.0+2604+960c7771ALSA-2021:4156
AlmaLinux8grafana7.5.9-4.el8ALSA-2021:4226
AlmaLinux9buildah, buildah-tests1:1.27.0-2.el9ALSA-2022:8008
Rocky Linux8delve0:1.6.0-1.module+el8.5.0+694+f77f0bfdRLSA-2021:4156
Rocky Linux8golang, go-toolset0:1.16.7-1.module+el8.5.0+694+f77f0bfdRLSA-2021:4156
Rocky Linux8grafana0:7.5.9-4.el8RLSA-2021:4226
Alpinev3.13go1.15.13-r0ALPINE-CVE-2021-33195
Alpinev3.14, v3.15, v3.16 and 8 morego1.16.5-r0ALPINE-CVE-2021-33195
Azure Linux3golangno fix listedAZL-78998 AZL-98889

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

Red Hat rates this Moderate.

Red Hat's statement

* Since OpenShift Container Platform 3.11 is in Maintenance Phase of the support, only Important and Critical severity vulnerabilities will be addressed at this time.

* For Red Hat OpenStack Platform, because the flaw has a lower impact and the fix would require a substantial amount of development, no update will be provided at this time for the golang-qpid-apache package.

* In Service Telemetry Framework, because the flaw has a lower impact and the package is not directly used by STF, no updates will be provided at this time for the STF containers.

ProductPackageStateAdvisory
Openshift Serverless 1.17openshift-serverless-1/client-kn-rhel8:0.23.2-2Fixed 2021-09-16RHSA-2021:3556
Openshift Serverless 1.17openshift-serverless-1/eventing-apiserver-receive-adapter-rhel8:0.23.0-5Fixed 2021-09-16RHSA-2021:3556
Openshift Serverless 1.17openshift-serverless-1/eventing-controller-rhel8:0.23.0-5Fixed 2021-09-16RHSA-2021:3556
Openshift Serverless 1.17openshift-serverless-1/eventing-in-memory-channel-controller-rhel8:0.23.0-5Fixed 2021-09-16RHSA-2021:3556
Openshift Serverless 1.17openshift-serverless-1/eventing-in-memory-channel-dispatcher-rhel8:0.23.0-5Fixed 2021-09-16RHSA-2021:3556
Openshift Serverless 1.17openshift-serverless-1/eventing-mtbroker-filter-rhel8:0.23.0-5Fixed 2021-09-16RHSA-2021:3556
Openshift Serverless 1.17openshift-serverless-1/eventing-mtbroker-ingress-rhel8:0.23.0-5Fixed 2021-09-16RHSA-2021:3556
Openshift Serverless 1.17openshift-serverless-1/eventing-mtchannel-broker-rhel8:0.23.0-5Fixed 2021-09-16RHSA-2021:3556
Openshift Serverless 1.17openshift-serverless-1/eventing-mtping-rhel8:0.23.0-5Fixed 2021-09-16RHSA-2021:3556
Openshift Serverless 1.17openshift-serverless-1/eventing-storage-version-migration-rhel8:0.23.0-5Fixed 2021-09-16RHSA-2021:3556
Migration Toolkit for Containersrhmtc/openshift-migration-controller-rhel8Affected
Migration Toolkit for Containersrhmtc/openshift-migration-velero-plugin-for-mtc-rhel8Affected
OpenShift Serverlessknative-eventingAffected
OpenShift Service Mesh 2.0servicemeshAffected
OpenShift Service Mesh 2.0servicemesh-grafanaAffected
OpenShift Service Mesh 2.0servicemesh-operatorAffected
OpenShift Service Mesh 2.0servicemesh-prometheusAffected
Red Hat Ceph Storage 2golangOut of support scope
Red Hat Ceph Storage 2grafanaOut of support scope
Red Hat Ceph Storage 3golangOut of support scope
293 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-33195.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-74 (37).

References

Check your stackJSON