CVE-2019-10223
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
k8s.io/kube-state-metricsGo | >= 1.7.0, < 1.7.2 | 1.7.2 |
Affected products
7cpe:2.3:a:kubernetes:kube-state-metrics:1.7.0:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:kubernetes:kube-state-metrics:1.7.0:*:*:*:*:*:*:*
- cpe:2.3:a:kubernetes:kube-state-metrics:1.7.1:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openshift_container_platform:3.11:*:*:*:*:*:*:*+ 2 more
- cpe:2.3:a:redhat:openshift_container_platform:3.11:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:openshift_container_platform:4.1:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:openshift_container_platform:4.2:*:*:*:*:*:*:*
- Red Hat/kube-state-metricsv5Range: kube-state-metrics versions v1.7.0 and v1.7.1
Patches
Vulnerability mechanics
References
8- www.openwall.com/lists/oss-security/2019/08/09/1nvdExploitMailing ListThird Party AdvisoryWEB
- bugzilla.redhat.com/show_bug.cginvdIssue TrackingVendor AdvisoryWEB
- github.com/advisories/GHSA-c92w-72c5-9x59ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2019-10223ghsaADVISORY
- www.openwall.com/lists/oss-security/2019/08/15/8nvdWEB
- github.com/kubernetes/kube-state-metrics/commit/03122fe3e2df49a9a7298b8af921d3c37c430f7fghsaWEB
- github.com/kubernetes/kube-state-metrics/releases/tag/v1.7.2nvdWEB
- pkg.go.dev/vuln/GO-2022-0621ghsaWEB
News mentions
0No linked articles in our index yet.