{"id":"GHSA-r88r-gmrh-7j83","summary":"YAML Go package vulnerable to denial of service","details":"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.","aliases":["CVE-2021-4235","GO-2021-0061"],"modified":"2026-07-17T21:10:54.498588316Z","published":"2022-12-28T00:30:23Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-12-30T19:02:10Z","nvd_published_at":"2022-12-27T22:15:00Z","cwe_ids":[]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4235"},{"type":"WEB","url":"https://github.com/go-yaml/yaml/pull/375"},{"type":"WEB","url":"https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241"},{"type":"PACKAGE","url":"https://github.com/go-yaml/yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2021-0061"}],"affected":[{"package":{"name":"gopkg.in/yaml.v2","ecosystem":"Go","purl":"pkg:golang/gopkg.in/yaml.v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.2.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-r88r-gmrh-7j83/GHSA-r88r-gmrh-7j83.json"}},{"package":{"name":"github.com/go-yaml/yaml","ecosystem":"Go","purl":"pkg:golang/github.com/go-yaml/yaml"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"2.1.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-r88r-gmrh-7j83/GHSA-r88r-gmrh-7j83.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}