Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. k8s.io/kube-state-metrics/internal/store
  4. ›
  5. CVE-2019-10223

CVE-2019-10223: Exposure of Sensitive Information to an Unauthorized Actor

May 24, 2022 (updated February 8, 2023)

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

  • www.openwall.com/lists/oss-security/2019/08/15/8
  • bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10223
  • github.com/advisories/GHSA-c92w-72c5-9x59
  • github.com/kubernetes/kube-state-metrics/commit/03122fe3e2df49a9a7298b8af921d3c37c430f7f
  • github.com/kubernetes/kube-state-metrics/releases/tag/v1.7.2
  • nvd.nist.gov/vuln/detail/CVE-2019-10223
  • pkg.go.dev/vuln/GO-2022-0621
  • www.openwall.com/lists/oss-security/2019/08/09/1

Code Behaviors & Features

Detect and mitigate CVE-2019-10223 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.7.0 before 1.7.2

Fixed versions

  • 1.7.2

Solution

Upgrade to version 1.7.2 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

go/k8s.io/kube-state-metrics/internal/store/CVE-2019-10223.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:41 +0000.