CVE-2019-10223: Infoleak
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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2019-10223?
CVE-2019-10223 has a medium severity rating due to the exposure of sensitive data through annotations.
How do I fix CVE-2019-10223?
To mitigate CVE-2019-10223, upgrade kube-state-metrics to version 1.7.2 or later.
What versions of kube-state-metrics are affected by CVE-2019-10223?
CVE-2019-10223 affects kube-state-metrics versions v1.7.0 and v1.7.1.
What is the nature of the vulnerability in CVE-2019-10223?
CVE-2019-10223 allows unintended exposure of annotations as metrics, potentially revealing sensitive data.
Is CVE-2019-10223 related to any other software?
CVE-2019-10223 also impacts Red Hat OpenShift Container Platform in specific versions when it includes the affected kube-state-metrics.