Vulnerabilities · 2019 · Kubernetes
CVE-2019-10223
Kubernetes Kube-state-metrics vulnerability
A security issue was discovered in the kube-state-metrics versions v1.7.0 and v1.7.1. An experimental feature was added to the v1.7.0 release that enabled annotations to be exposed as metrics. By default, the kube-state-metrics metrics only expose metadata about Secrets. However, a combination of the default `kubectl` behavior and this new feature can cause the entire secret content to end up in metric labels thus inadvertently exposing the secret content in metrics. This feature has been reverted and released as the v1.7.2 release. If you are running the v1.7.0 or v1.7.1 release, please upgrade to the v1.7.2 release as soon as possible.
Affected products
Kube-state-metrics, Openshift Container Platform. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Kubernetes Kube-state-metrics runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10223 · Vendor Advisory
- www.openwall.com/lists/oss-security/2019/08/09/1 · Exploit
- www.openwall.com/lists/oss-security/2019/08/15/8
- github.com/kubernetes/kube-state-metrics/releases/tag/v1.7.2
- nvd.nist.gov/vuln/detail/CVE-2019-10223
- cve.org/CVERecord?id=CVE-2019-10223
More vulnerabilities in Kubernetes products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.