{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-4235","published":"2022-12-27T22:15:11.960000Z","last_modified":"2026-06-17T04:19:19.340000Z","status":"Modified","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":[],"cpes":[{"criteria":"cpe:2.3:a:yaml_project:yaml:*:*:*:*:*:go:*:*","part":"a","vendor":"yaml_project","product":"yaml","version_end_excluding":"2.2.3"}],"cpes_truncated":false,"vendors":["yaml_project"],"products":["yaml_project/yaml"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00431,"percentile":0.29151,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-r88r-gmrh-7j83","ecosystem":"Go","name":"github.com/go-yaml/yaml","purl":"pkg:golang/github.com/go-yaml/yaml","ranges":[{"introduced":"0","last_affected":"2.1.0"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2021-0061","ecosystem":"Go","name":"github.com/go-yaml/yaml","purl":"pkg:golang/github.com/go-yaml/yaml","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-r88r-gmrh-7j83","ecosystem":"Go","name":"gopkg.in/yaml.v2","purl":"pkg:golang/gopkg.in/yaml.v2","ranges":[{"introduced":"0","fixed":"2.2.3"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2021-0061","ecosystem":"Go","name":"gopkg.in/yaml.v2","purl":"pkg:golang/gopkg.in/yaml.v2","ranges":[{"introduced":"0","fixed":"2.2.3"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2021-4235/","html_en":"/en/cve/CVE-2021-4235/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-4235","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-4235"},"untrusted":{"vendor_name":"Yaml Project","product_name":"Yaml","desc_en":"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.","affected":[{"untrusted_vendor":"gopkg.in/yaml.v2","untrusted_product":"gopkg.in/yaml.v2","versions":[]},{"untrusted_vendor":"github.com/go-yaml/yaml","untrusted_product":"github.com/go-yaml/yaml","versions":[]}],"references":[{"url":"https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/go-yaml/yaml/pull/375","tags":["Exploit","Patch","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2021-0061","tags":["Third Party Advisory"]}]},"bulletins":[{"source":"redhat","id":"RHSA-2022:7398","url":"https://access.redhat.com/errata/RHSA-2022:7398","published":"2024-09-30T14:31:25+00:00","severity":"medium","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: OpenShift Container Platform 4.12.0 packages and security update"}}]}