CVE-2019-10223
published medium CVSS 3.0 · 5.3kube-state-metrics: annotations exposed as metrics in combination with `kubectl` can allow for exposure of secrets
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | kube-state-metricskube-state-metrics versions v1.7.0 and v1.7.1 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | kube-state-metrics | kube-state-metrics versions v1.7.0 and v1.7.1 (affected) | redhat · cna |
Weaknesses
1- CWE-200
References
4- [oss-security] 20190815 Re: [ANNOUNCE] Security release of kube-state-metrics v1.7.2 http://www.openwall.com/lists/oss-security/2019/08/15/8
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10223
- https://github.com/kubernetes/kube-state-metrics/releases/tag/v1.7.2
- [oss-security] 20190809 [ANNOUNCE] Security release of kube-state-metrics v1.7.2 https://www.openwall.com/lists/oss-security/2019/08/09/1
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 741093d7ae45b95c74781faccf5ad101379f6509f2a6bdc223d7ee6de16d2182
- Ingested
- 23 Sep 2026, 07:45:30 UTC
- Source record
- Official CVE record