Due to unbounded alias chasing, a maliciously crafted YAML file can cause the system to consume significant system resources. If parsing user input, this may be used as a denial of service vector.
CVE-2021-4235
This medium-severity CVE scores 5.5 under NVD CVSS v3. EPSS exploit probability: 0.0%, top 90% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 5.5
- EG Score
- 5.5(medium)
- EPSS
- 33.5%
- KEV
- Not listed
Published
December 27, 2022
Last Modified
April 11, 2025
References (8)
- security@golanghttps://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241
- security@golanghttps://github.com/go-yaml/yaml/pull/375
- security@golanghttps://lists.debian.org/debian-lts-announce/2023/07/msg00001.html
- security@golanghttps://pkg.go.dev/vuln/GO-2021-0061
- af854a3a-2127-422b-91ae-364da2661108https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241
- af854a3a-2127-422b-91ae-364da2661108https://github.com/go-yaml/yaml/pull/375
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html
- af854a3a-2127-422b-91ae-364da2661108https://pkg.go.dev/vuln/GO-2021-0061
Vendor Advisories for CVE-2021-4235(6)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2023:3615Red Hat Product SecurityMedium
Red Hat Security Advisory: OpenShift Container Platform 4.12.22 bug fix and security update
- RHSA-2023:3742Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.13.0 security and bug fix update
- RHSA-2023:1326Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.13.0 security update
- RHSA-2023:0569Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.12.2 security update
- RHSA-2023:0570Red Hat Product SecurityMedium
Red Hat Security Advisory: OpenShift Container Platform 4.12.2 security update
- RHSA-2022:7398Red Hat Product SecurityMedium
Red Hat Security Advisory: OpenShift Container Platform 4.12.0 packages and security update
Patch Availability(7)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | golang-yaml.v2-dev (0.0+git20160301.0.a83829b-1ubuntu0.1~esm1) @ xenial | 2026-05-25 | ubuntu |
| redhat | openshift4/ose-openshift-controller-manager-rhel8:v4.12.0-202306090942.p0.gb6528f9.assembly.stream | 2023-06-24 | redhat |
| redhat | odf4/odf-rhel9-operator:v4.13.0-24 | 2023-06-21 | redhat |
| redhat | openshift4/ose-machine-api-operator:v4.13.0-202304190216.p0.ga23baf7.assembly.stream | 2023-05-17 | redhat |
| redhat | openshift4/metallb-rhel8-operator:v4.12.0-202301301729.p0.g917cd33.assembly.stream | 2023-02-07 | redhat |
| redhat | openshift4/ose-installer:v4.12.0-202301271115.p0.g7fea1c4.assembly.stream | 2023-02-07 | redhat |
| redhat | openshift-clients-0:4.12.0-202301042257.p0.g854f807.assembly.stream.el8 | 2023-01-17 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(2 across 1 ecosystem)
Go(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| github.com/go-yaml/yaml | — | — | — |
| gopkg.in/yaml.v2 | — | 2.2.3 | — |
Additional Vendor Advisories
(2)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 12× in last 7d / 45× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:07 UTCEPSS rescore
- 2026-07-09 19:07 UTCEPSS rescore
- 2026-07-08 15:12 UTCEPSS rescore
- 2026-07-08 15:12 UTCEPSS rescore
- 2026-07-07 13:43 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-05 02:28 UTCEPSS rescore
- 2026-07-05 02:28 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-01 15:04 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-28 14:05 UTCEPSS rescore
- 2026-06-28 10:19 UTCOSV refresh
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
Show 55 moreShow fewer
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 20:47 UTCOSV refresh
- 2026-06-10 13:20 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-29 13:42 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-25 09:40 UTCEG score recompute
- 2026-05-25 09:40 UTCVendor advisory
Related CVEs(same vendor)
Frequently asked(5)
What is CVE-2021-4235?
When was CVE-2021-4235 disclosed?
Is CVE-2021-4235 actively exploited?
What is the CVSS score of CVE-2021-4235?
How do I remediate CVE-2021-4235?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2021-4235
Is Your Infrastructure Affected by CVE-2021-4235?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.