{"id":"GHSA-r88r-gmrh-7j83","revision":"1786359be0d447e585cbf34ff45cab0d","records":[{"revision":"1786359be0d447e585cbf34ff45cab0d","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-r88r-gmrh-7j83","aliases":["CVE-2021-4235","GO-2021-0061"],"title":"YAML Go package vulnerable to denial of service","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":0,"publishedAt":"2022-12-28T00:30:23+00:00","modifiedAt":"2026-09-10T03:49:50.5737883+00:00","affected":[{"ecosystem":"Go","name":"gopkg.in/yaml.v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.2.3"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/go-yaml/yaml","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"2.1.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2021-4235","https://github.com/go-yaml/yaml/pull/375","https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241","https://github.com/go-yaml/yaml","https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html","https://pkg.go.dev/vuln/GO-2021-0061"],"sourceUrl":"https://github.com/advisories/GHSA-r88r-gmrh-7j83","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-r88r-gmrh-7j83","identifiers":["GHSA-r88r-gmrh-7j83","CVE-2021-4235","GO-2021-0061"]},"retained":false,"historicalAffected":[]}],"coverage":[]}