{"api_version":"1","generated_at":"2026-04-23T00:59:43+00:00","cve":"CVE-2021-4235","urls":{"html":"https://cve.report/CVE-2021-4235","api":"https://cve.report/api/cve/CVE-2021-4235.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-4235","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-4235"},"summary":{"title":"CVE-2021-4235","description":"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.","state":"PUBLIC","assigner":"security@golang.org","published_at":"2022-12-27 22:15:00","updated_at":"2023-07-06 00:15:00"},"problem_types":["NVD-CWE-noinfo"],"metrics":[],"references":[{"url":"https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241","name":"https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241","refsource":"MISC","tags":[],"title":"Add logic to catch cases of alias abuse. · go-yaml/yaml@bb4e33b · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html","name":"https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html","refsource":"MISC","tags":[],"title":"[SECURITY] [DLA 3479-1] golang-yaml.v2 security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/go-yaml/yaml/pull/375","name":"https://github.com/go-yaml/yaml/pull/375","refsource":"MISC","tags":[],"title":"Add a decoder option to limit the number of unmarshalled values by simonferquel · Pull Request #375 · go-yaml/yaml · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://pkg.go.dev/vuln/GO-2021-0061","name":"https://pkg.go.dev/vuln/GO-2021-0061","refsource":"MISC","tags":[],"title":"GO-2021-0061 - Go Packages","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-4235","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4235","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"4235","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"yaml_project","cpe5":"yaml","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"go","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-4235","qid":"181577","title":"Debian Security Update for golang-yaml.v2 (CVE-2021-4235)"},{"cve":"CVE-2021-4235","qid":"199656","title":"Ubuntu Security Notification for Go yaml Vulnerabilities (USN-6287-1)"},{"cve":"CVE-2021-4235","qid":"241070","title":"Red Hat OpenShift Container Platform 4.12 Security Update (RHSA-2022:7398)"},{"cve":"CVE-2021-4235","qid":"6000135","title":"Debian Security Update for golang-yaml.v2 (DLA 3479-1)"},{"cve":"CVE-2021-4235","qid":"770172","title":"Red Hat OpenShift Container Platform 4.12 Security Update (RHSA-2022:7398)"},{"cve":"CVE-2021-4235","qid":"904947","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for etcd (12325)"},{"cve":"CVE-2021-4235","qid":"905116","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for application-gateway-kubernetes-ingress (12459)"},{"cve":"CVE-2021-4235","qid":"905186","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for etcd (12907)"},{"cve":"CVE-2021-4235","qid":"905220","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for application-gateway-kubernetes-ingress (12929)"},{"cve":"CVE-2021-4235","qid":"905267","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for etcd (12907)"},{"cve":"CVE-2021-4235","qid":"905403","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for etcd (12907-1)"},{"cve":"CVE-2021-4235","qid":"906801","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for etcd (12907-3)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2021-4235","ASSIGNER":"security@golang.org","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE 400: Uncontrolled Resource Consumption"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"gopkg.in/yaml.v2","product":{"product_data":[{"product_name":"gopkg.in/yaml.v2","version":{"version_data":[{"version_affected":"<","version_name":"0","version_value":"2.2.3"}]}}]}},{"vendor_name":"github.com/go-yaml/yaml","product":{"product_data":[{"product_name":"github.com/go-yaml/yaml","version":{"version_data":[{"version_value":"not down converted","x_cve_json_5_version_data":{"defaultStatus":"affected"}}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/go-yaml/yaml/pull/375","refsource":"MISC","name":"https://github.com/go-yaml/yaml/pull/375"},{"url":"https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241","refsource":"MISC","name":"https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241"},{"url":"https://pkg.go.dev/vuln/GO-2021-0061","refsource":"MISC","name":"https://pkg.go.dev/vuln/GO-2021-0061"},{"url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html","refsource":"MISC","name":"https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html"}]},"credits":[{"lang":"en","value":"@simonferquel"}]},"nvd":{"publishedDate":"2022-12-27 22:15:00","lastModifiedDate":"2023-07-06 00:15:00","problem_types":["NVD-CWE-noinfo"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.8,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:yaml_project:yaml:*:*:*:*:*:go:*:*","versionEndExcluding":"2.2.3","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}