Skip to main content
← All vulnerabilities
CVE-2019-10223GHSA-2V6X-FRW8-7R7FGHSA-C92W-72C5-9X59GO-2022-0621

A security issue was discovered in the kube-state-metrics versions v1.7.0 and v1.7.1.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.7.2
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Red Hat kube-state-metrics

    Version range not reported

  • k8s.io/kube-state-metricsGo

    From 1.7.0 · fixed in 1.7.2

References 4

openwall.com

bugzilla.redhat.com

GitHub · kubernetes/kube-state-metrics