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…
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.0 | Medium5.3 | CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVDNVD · Modified | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 1.8% · top 22% of all CVEs (6 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Weakness
Affected products
- affected kube-state-metrics versions v1.7.0 and v1.7.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gok8s.io/kube-state-metricsGHSA-c92w-72c5-9x59 (opens in a new tab)
References (4)
- [oss-security] 20190815 Re: [ANNOUNCE] Security release of kube-state-metrics v1.7.2 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10223 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/kubernetes/kube-state-metrics/releases/tag/v1.7.2 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [oss-security] 20190809 [ANNOUNCE] Security release of kube-state-metrics v1.7.2 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-c92w-72c5-9x59 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2019-10223)Record last updated .