{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-4235","id":"CVE-2021-4235","title":"Denial of service in gopkg.in/yaml.v2","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.","descriptionLong":"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.","published":"2022-12-27T21:13:42.393Z","updated":"2026-10-20T10:54:04.268986529Z","reserved":"2022-07-29T18:56:20.415Z","status":"Modified","rejected":false,"assigner":"Go","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub"}],"rating":"medium","products":["gopkg.in/yaml.v2","github.com/go-yaml/yaml"],"affectedProducts":[{"vendor":"gopkg.in/yaml.v2","product":"gopkg.in/yaml.v2","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"2.2.3","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"github.com/go-yaml/yaml","product":"github.com/go-yaml/yaml","defaultStatus":"affected","versions":[],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"gopkg.in/yaml.v2","purl":"pkg:golang/gopkg.in/yaml.v2","ranges":["<2.2.3"],"fixed":["2.2.3"],"advisory":"GHSA-r88r-gmrh-7j83"},{"ecosystem":"Go","name":"github.com/go-yaml/yaml","purl":"pkg:golang/github.com/go-yaml/yaml","ranges":["<=2.1.0","all versions"],"fixed":[],"advisory":"GHSA-r88r-gmrh-7j83"}],"cwes":[],"aliases":["GHSA-r88r-gmrh-7j83","GO-2021-0061"],"references":[{"url":"https://github.com/go-yaml/yaml/pull/375","tags":["x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://pkg.go.dev/vuln/GO-2021-0061","tags":["x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html","tags":["x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4235","tags":["advisory"]},{"url":"https://github.com/go-yaml/yaml","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00427,"epssPercentile":0.37731,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-4235","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4235","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-4235","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-r88r-gmrh-7j83","ok":true,"note":"GHSA-r88r-gmrh-7j83"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-4235","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}