{ "schema_version": "1.4.0", "id": "GHSA-r88r-gmrh-7j83", "modified": "2025-04-11T23:46:34Z", "published": "2022-12-28T00:30:23Z", "aliases": [ "CVE-2021-4235" ], "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H" } ], "affected": [ { "package": { "ecosystem": "Go", "name": "gopkg.in/yaml.v2" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "2.2.3" } ] } ] }, { "package": { "ecosystem": "Go", "name": "github.com/go-yaml/yaml" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "last_affected": "2.1.0" } ] } ] } ], "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" } ], "database_specific": { "cwe_ids": [], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2022-12-30T19:02:10Z", "nvd_published_at": "2022-12-27T22:15:00Z" } }