CVSS 3.1
5.5 mediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HMedium (5.5) in yaml project yaml. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in gopkg.in/yaml.v2 2.2.3.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:Hgopkg.in/yaml.v2 (Go): fixed in 2.2.3Explain CVE-2021-4235 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-4235?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-4235?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-4235 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 CNA's record in the CVE List.
| Product | Affected |
|---|---|
| gopkg.in/yaml.v2 | before 2.2.3 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-r88r-gmrh-7j83 | Go | gopkg.in/yaml.v2 | <2.2.3 | 2.2.3 |
| GHSA-r88r-gmrh-7j83 | Go | github.com/go-yaml/yaml | <=2.1.0 | no fix published |
| GO-2021-0061 | Go | gopkg.in/yaml.v2 | <2.2.3 | 2.2.3 |
| GO-2021-0061 | Go | github.com/go-yaml/yaml | all versions | no fix published |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | golang-yaml.v2 | 2.2.2-1+deb10u1 | DLA-3479-1 |
| Debian | 12, 13, 14 | golang-yaml.v2 | 2.2.8-1 | DEBIAN-CVE-2021-4235 |
| Ubuntu | 18.04:LTS | webhook | no fix listed | UBUNTU-CVE-2021-4235 |
| Ubuntu | 20.04:LTS | golang-yaml.v2 | 2.2.2-1ubuntu0.1 | UBUNTU-CVE-2021-4235 USN-6287-1 |
| Ubuntu | 20.04:LTS, 22.04:LTS, 24.04:LTS and 1 more | webhook, golang-github-coreos-discovery-etcd-io | no fix listed | UBUNTU-CVE-2021-4235 |
| Ubuntu | 25.10, 26.04:LTS | webhook, singularity-container, golang-github-coreos-discovery-etcd-io | no fix listed | UBUNTU-CVE-2021-4235 |
| Ubuntu | Pro:16.04:LTS | golang-yaml.v2 | 0.0+git20160301.0.a83829b-1ubuntu0.1~esm1 | UBUNTU-CVE-2021-4235 USN-6287-1 |
| Ubuntu | Pro:18.04:LTS | golang-yaml.v2 | 0.0+git20170407.0.cd8b52f-1ubuntu2+esm1 | UBUNTU-CVE-2021-4235 USN-6287-1 |
| Ubuntu | Pro:18.04:LTS, Pro:24.04:LTS | singularity-container | no fix listed | UBUNTU-CVE-2021-4235 |
| Red Hat | openshift:4.12::el8 | ansible-runner, python3-ansible-runner | 0:1.4.6-2.el8ar | RHSA-2022:7398 |
| Red Hat | openshift:4.12::el8 | ansible-runner-http | 0:1.0.0-2.el8ar | RHSA-2022:7398 |
| Red Hat | openshift:4.12::el8 | bootupd, rust-bootupd, bootupd-debuginfo and 1 more | 0:0.2.5-3.rhaos4.12.el8 | RHSA-2022:7398 |
| Red Hat | openshift:4.12::el8 | butane, butane-debuginfo, butane-debugsource and 1 more | 0:0.16.0-2.rhaos4.12.el8 | RHSA-2022:7398 |
| Red Hat | openshift:4.12::el8 | conmon-rs | 0:0.4.0-2.rhaos4.12.git.el8 | RHSA-2022:7398 |
| Red Hat | openshift:4.12::el8 | console-login-helper-messages, console-login-helper-messages-profile, console-login-helper-messages-issuegen | 0:0.20.4-1.rhaos4.12.el8 | RHSA-2022:7398 |
| Red Hat | openshift:4.12::el8 | containernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource | 0:1.0.1-5.rhaos4.11.el8 | RHSA-2022:7398 |
| Red Hat | openshift:4.12::el8 | coreos-installer, coreos-installer-bootinfra, coreos-installer-debuginfo and 2 more | 0:0.16.1-1.rhaos4.12.el8 | RHSA-2022:7398 |
| Red Hat | openshift:4.12::el8 | cri-o, cri-o-debuginfo, cri-o-debugsource | 0:1.25.1-5.rhaos4.12.git6005903.el8 | RHSA-2022:7398 |
| Red Hat | openshift:4.12::el8 | cri-tools, cri-tools-debuginfo, cri-tools-debugsource | 0:1.25.0-2.el8 | RHSA-2022:7398 |
| Red Hat | openshift:4.12::el8 | crit, criu, criu-libs and 5 more | 0:3.15-4.rhaos4.11.el8 | RHSA-2022:7398 |
| Red Hat | openshift:4.12::el8 | crudini | 0:0.9-11.el8ost.1 | RHSA-2022:7398 |
| 188 more for Red Hat in the JSON and on Red Hat's page. | ||||
| Azure Linux | 2 | buildah | no fix listed | AZL-43918 |
| Azure Linux | 2 | delve | no fix listed | AZL-43447 |
| Azure Linux | 2 | podman | no fix listed | AZL-43642 |
| Azure Linux | 3 | buildah | 1.41.4-2 | AZL-45360 |
| Azure Linux | 3 | delve | no fix listed | AZL-44229 |
| Azure Linux | 3 | podman | 5.6.1-2 | AZL-45237 |
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; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.
Red Hat rates this Moderate.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenShift Container Platform 4.12 | openshift-clients-0:4.12.0-202301042257.p0.g854f807.assembly.stream.el8 | Fixed 2023-01-17 | RHSA-2022:7398 |
| Red Hat OpenShift Container Platform 4.12 | openshift4/ose-installer:v4.12.0-202301271115.p0.g7fea1c4.assembly.stream | Fixed 2023-02-07 | RHSA-2023:0569 |
| Red Hat OpenShift Container Platform 4.12 | openshift4/metallb-rhel8-operator:v4.12.0-202301301729.p0.g917cd33.assembly.stream | Fixed 2023-02-07 | RHSA-2023:0570 |
| Red Hat OpenShift Container Platform 4.12 | openshift4/ose-openshift-controller-manager-rhel8:v4.12.0-202306090942.p0.gb6528f9.assembly.stream | Fixed 2023-06-24 | RHSA-2023:3615 |
| Red Hat OpenShift Container Platform 4.13 | openshift4/ose-installer:v4.13.0-202305091542.p0.g44db7b2.assembly.stream | Fixed 2023-05-17 | RHSA-2023:1326 |
| Red Hat OpenShift Container Platform 4.13 | openshift4/ose-machine-api-operator:v4.13.0-202304190216.p0.ga23baf7.assembly.stream | Fixed 2023-05-17 | RHSA-2023:1326 |
| RHODF-4.13-RHEL-9 | odf4/mcg-rhel9-operator:v4.13.0-41 | Fixed 2023-06-21 | RHSA-2023:3742 |
| RHODF-4.13-RHEL-9 | odf4/odf-rhel9-operator:v4.13.0-24 | Fixed 2023-06-21 | RHSA-2023:3742 |
| cert-manager Operator for Red Hat OpenShift | cert-manager/jetstack-cert-manager-rhel9 | Will not fix | |
| Migration Toolkit for Containers | rhmtc/openshift-migration-controller-rhel8 | Will not fix | |
| Node Maintenance Operator | workload-availability/node-maintenance-rhel8-operator | Not affected | |
| OpenShift Developer Tools and Services | helm | Not affected | |
| OpenShift Developer Tools and Services | odo | Affected | |
| OpenShift Pipelines | openshift-pipelines-client | Will not fix | |
| OpenShift Serverless | openshift-serverless-1/client-kn-rhel8 | Will not fix | |
| OpenShift Serverless | openshift-serverless-1/kn-cli-artifacts-rhel8 | Will not fix | |
| OpenShift Serverless | openshift-serverless-clients | Will not fix | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-cni-rhel8 | Not affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/multiclusterhub-repo-rhel8 | Not affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/multicluster-operators-channel-rhel8 | Not affected | |
| 58 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-4235.