Information disclosure in Kubernetes Kube-State-Metrics
CVE-2019-10223
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.
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.018, 78.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Kubernetes Kube-State-Metrics — versions 1.7.0, 1.7.1
- Red Hat Kube-State-Metrics — versions kube-state-metrics versions v1.7.0 and v1.7.1
- Red Hat Openshift Container Platform — versions 3.11, 4.1, 4.2
Weakness classification (CWE)
References
- [oss-security] 20190815 Re: [ANNOUNCE] Security release of kube-state-metrics v1.7.2 (mailing-list)
- bugzilla.redhat.com/show_bug.cgi (Issue Tracking, Vendor Advisory)
- github.com/kubernetes/kube-state-metrics/releases/tag/v1.7.2
- [oss-security] 20190809 [ANNOUNCE] Security release of kube-state-metrics v1.7.2 (mailing-list, Exploit, Mailing List, Third Party Advisory)