MediumGHSA-wxc4-f4m6-wwqvCVE-2019-11254GO-2020-0036
Excessive Platform Resource Consumption within a Loop in Kubernetes
Published 20 Dec 2021 · Updated 10 Sept 2026
Is your project on an affected gopkg.in/yaml.v2?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- <2.2.8
- Fixed in
- 2.2.8
Update to the fixed version for your release line, for example:
go get gopkg.in/yaml.v2@v2.2.8- Affected
- <=2.1.0
- Fixed in
- No fix released
Details
The Kubernetes API Server component in versions 1.1-1.14, and versions prior to 1.15.10, 1.16.7 and 1.17.3 allows an authorized user who sends malicious YAML payloads to cause the kube-apiserver to consume excessive CPU cycles while parsing YAML.
Is GHSA-wxc4-f4m6-wwqv in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected gopkg.in/yaml.v2, and gives you the command that fixes it.
More advisories for gopkg.in/yaml.v2
- MediumCVE-2021-4235YAML Go package vulnerable to denial of service · 28 Dec 2022
- HighCVE-2022-3064yaml package for Go can consume excessive amounts of CPU or memory · 28 Dec 2022
- LowCVE-2022-3064Excessive resource consumption in gopkg.in/yaml.v2 · 29 Aug 2022
- LowCVE-2021-4235Denial of service in gopkg.in/yaml.v2 · 14 Apr 2021
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2019-11254
- Linkgithub.com/kubernetes/kubernetes/issues/89535
- Linkgithub.com/go-yaml/yaml/pull/555
- Linkgithub.com/kubernetes/kubernetes/pull/87467/commits/b86df2bec4f377afc0ca03482ffad2f0a49a83b8
- Linkgithub.com/go-yaml/yaml/commit/53403b58ad1b561927d19068c655246f2db79d48
- Linkbugs.chromium.org/p/oss-fuzz/issues/detail?id=18496
- Linkgroups.google.com/d/msg/kubernetes-announce/ALL9s73E5ck/4yHe8J-PBAAJ
- Linkpkg.go.dev/vuln/GO-2020-0036
- Linksecurity.netapp.com/advisory/ntap-20200413-0003
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.