{"id":"CVE-2019-10223","published":"2019-11-05T11:40:37Z","modified":"2024-08-04T22:17:19Z","title":"A security issue was discovered in the kube-state-metrics versions v1.7.0 and v1.7.1","vendor":"Red Hat","product":"kube-state-metrics","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0178,"percentile":0.78794,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2019/08/15/8","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10223","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/kubernetes/kube-state-metrics/releases/tag/v1.7.2","tags":["x_refsource_CONFIRM"]},{"url":"https://www.openwall.com/lists/oss-security/2019/08/09/1","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":19.5,"factors":[{"name":"EPSS percentile","points":15.76},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"kube-state-metrics","versions":["kube-state-metrics versions v1.7.0 and v1.7.1"]}],"affected":[{"ecosystem":"Go","package":"k8s.io/kube-state-metrics","vulnerableRanges":[">=1.7.0, <1.7.2"],"patched":["1.7.2"],"from":["GHSA-c92w-72c5-9x59","GO-2022-0621"],"provenance":"source"}],"summary":{"text":"The kube-state-metrics component of the kube-state-metrics product, in versions v1.7.0 and v1.7.1, has an exposure flaw introduced by an experimental annotations-as-metrics feature, which can cause full Secret contents to appear in metric labels. An attacker with network access to the metrics endpoint, who has low-privilege authentication, can read secret data exposed through those metrics, with exploitation made more difficult by high attack complexity and the default kubectl behaviour being a contributing condition; no user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:33:43Z"},"euvd":{"id":"EUVD-2022-3542","exploited":false,"provenance":"source"}}