HIGH7.5
GHSA-6q6q-88xp-6f2r
yaml package for Go can consume excessive amounts of CPU or memory
Quick fix
GHSA-6q6q-88xp-6f2r — gopkg.in/yaml.v2: upgrade to the fixed version with the command below.
go get gopkg.in/yaml.v2@v2.2.4Details
Parsing malicious or large YAML documents can consume excessive amounts of CPU or memory
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-3064[ADVISORY]
- https://github.com/go-yaml/yaml/commit/f221b8435cfb71e54062f6c6e99e9ade30b124d5[WEB]
- https://github.com/go-yaml/yaml[PACKAGE]
- https://github.com/go-yaml/yaml/releases/tag/v2.2.4[WEB]
- https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4SBIUECMLNC572P23DDOKJNKPJVX26SP[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ANIOPUXWIHVRA6CEWXCGOMX3YYS6KFHG[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHC[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PW3XC47AUW5J5M2ULJX7WCCL3B2ETLMT[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XNF4OLYZRQE75EB5TW5N42FSXHBXGWFE[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAI[WEB]
- https://pkg.go.dev/vuln/GO-2022-0956[WEB]