go-yaml/yaml · Security
YAML Go package vulnerable to denial of service
- GHSA ID
- GHSA-r88r-gmrh-7j83
- CVE ID
- CVE-2021-4235
- Severity
- medium
- Published
- Updated
- CVSS
- 5.5 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CVSS v3
- 5.5 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
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.
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://pkg.go.dev/vuln/GO-2021-0061 ↗
- https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html ↗
- https://github.com/advisories/GHSA-r88r-gmrh-7j83 ↗