Description
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.
References (4)
Core 4
Core References
Mailing List mailing-list
x_refsource_mlist
http://www.openwall.com/lists/oss-security/2019/08/15/8
Issue Tracking, Vendor Advisory x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10223
Release Notes x_refsource_confirm
https://github.com/kubernetes/kube-state-metrics/releases/tag/v1.7.2
Exploit, Mailing List, Third Party Advisory mailing-list
x_refsource_mlist
https://www.openwall.com/lists/oss-security/2019/08/09/1
Scores
CVSS v3
6.5
EPSS
0.0107
EPSS Percentile
78.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Details
CWE
CWE-200
Status
published
Products (6)
k8s.io/kube-state-metrics
1.7.0 - 1.7.2Go
kubernetes/kube-state-metrics
1.7.0
kubernetes/kube-state-metrics
1.7.1
redhat/openshift_container_platform
3.11
redhat/openshift_container_platform
4.1
redhat/openshift_container_platform
4.2
Published
Nov 05, 2019
Tracked Since
Feb 18, 2026