MEDIUM6.5
GHSA-wxc4-f4m6-wwqv
Excessive Platform Resource Consumption within a Loop in Kubernetes
Quick fix
GHSA-wxc4-f4m6-wwqv — gopkg.in/yaml.v2: upgrade to the fixed version with the command below.
go get gopkg.in/yaml.v2@v2.2.8Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/go-yaml/yaml
Introduced in:
0No fixed version published yet for github.com/go-yaml/yaml (go modules). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-11254[ADVISORY]
- https://github.com/kubernetes/kubernetes/issues/89535[WEB]
- https://github.com/go-yaml/yaml/pull/555[WEB]
- https://github.com/kubernetes/kubernetes/pull/87467/commits/b86df2bec4f377afc0ca03482ffad2f0a49a83b8[WEB]
- https://github.com/go-yaml/yaml/commit/53403b58ad1b561927d19068c655246f2db79d48[WEB]
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18496[WEB]
- https://groups.google.com/d/msg/kubernetes-announce/ALL9s73E5ck/4yHe8J-PBAAJ[WEB]
- https://pkg.go.dev/vuln/GO-2020-0036[WEB]
- https://security.netapp.com/advisory/ntap-20200413-0003[WEB]