Parsing malicious or large YAML documents can consume excessive amounts of CPU or memory.
[
{
"vendor": "gopkg.in/yaml.v2",
"product": "gopkg.in/yaml.v2",
"collectionURL": "https://pkg.go.dev",
"packageName": "gopkg.in/yaml.v2",
"versions": [
{
"version": "0",
"lessThan": "2.2.4",
"status": "affected",
"versionType": "semver"
}
],
"programRoutines": [
{
"name": "decoder.unmarshal"
},
{
"name": "yaml_parser_increase_flow_level"
},
{
"name": "yaml_parser_roll_indent"
},
{
"name": "Decoder.Decode"
},
{
"name": "Unmarshal"
},
{
"name": "UnmarshalStrict"
}
],
"defaultStatus": "unaffected"
}
]
github.com/go-yaml/yaml/commit/f221b8435cfb71e54062f6c6e99e9ade30b124d5
github.com/go-yaml/yaml/releases/tag/v2.2.4
lists.debian.org/debian-lts-announce/2023/07/msg00001.html
lists.fedoraproject.org/archives/list/[email protected]/message/4SBIUECMLNC572P23DDOKJNKPJVX26SP/
lists.fedoraproject.org/archives/list/[email protected]/message/ANIOPUXWIHVRA6CEWXCGOMX3YYS6KFHG/
lists.fedoraproject.org/archives/list/[email protected]/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHC/
lists.fedoraproject.org/archives/list/[email protected]/message/PW3XC47AUW5J5M2ULJX7WCCL3B2ETLMT/
lists.fedoraproject.org/archives/list/[email protected]/message/XNF4OLYZRQE75EB5TW5N42FSXHBXGWFE/
lists.fedoraproject.org/archives/list/[email protected]/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAI/
pkg.go.dev/vuln/GO-2022-0956