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.
https://pkg.go.dev/vuln/GO-2021-0061
https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html
https://github.com/go-yaml/yaml/pull/375
https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241