{"id":"GO-2021-0061","revision":"e583800e2fe8465d94947edff5a1a408","records":[{"revision":"e583800e2fe8465d94947edff5a1a408","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2021-0061","aliases":["CVE-2021-4235","GHSA-r88r-gmrh-7j83"],"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.","state":0,"publishedAt":"2021-04-14T20:04:52+00:00","modifiedAt":"2026-02-04T03:07:53.209826+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"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/go-yaml/yaml/pull/375","https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241"],"sourceUrl":"https://osv.dev/vulnerability/GO-2021-0061","license":"OSV · upstream source license applies","key":"osv:GO-2021-0061","identifiers":["GO-2021-0061","CVE-2021-4235","GHSA-r88r-gmrh-7j83"]},"retained":false,"historicalAffected":[]}],"coverage":[]}