NetSight
medium6.5

CVE-2019-17110

Duplicate Advisory: k8s.io/kube-state-metrics Exposure of Sensitive Information

Impact

# Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-c92w-72c5-9x59. This link is maintained to preserve external references. # Original Description A security issue was discovered in kube-state-metrics 1.7.x before 1.7.2. An experimental feature was added to v1.7.0 and v1.7.1 that enabled annotations to be exposed as metrics. By default, 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.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/kubernetes/kube-state-metrics>= 1.7.0, < 1.7.21.7.2
gok8s.io/kube-state-metrics>= 1.7.0, < 1.7.21.7.2

Weakness classification

References