{"id":"GHSA-2v6x-frw8-7r7f","summary":"Duplicate Advisory: k8s.io/kube-state-metrics Exposure of Sensitive Information","details":"# Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-c92w-72c5-9x59. This link is maintained to preserve external references.\n\n# Original Description\n\nA security issue was discovered in kube-state-metrics 1.7.x before 1.7.2. An experimental feature was added to v1.7.0 and v1.7.1 that enabled annotations to be exposed as metrics. By default, 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.","aliases":["CVE-2019-10223","CVE-2019-17110","GHSA-c92w-72c5-9x59","GO-2022-0621"],"modified":"2024-01-23T17:50:31Z","published":"2021-05-18T15:38:54Z","withdrawn":"2024-01-23T17:50:31Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-05-17T21:04:15Z","nvd_published_at":null,"cwe_ids":["CWE-200"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-17110"},{"type":"WEB","url":"https://github.com/kubernetes/kube-state-metrics/commit/03122fe3e2df49a9a7298b8af921d3c37c430f7f"},{"type":"WEB","url":"https://github.com/kubernetes/kube-state-metrics/commit/2a9ab3a9a0f1c4dbecb6a5577185b33bfac86a96"},{"type":"PACKAGE","url":"https://github.com/kubernetes/kube-state-metrics"},{"type":"WEB","url":"https://github.com/kubernetes/kube-state-metrics/releases/tag/v1.7.2"}],"affected":[{"package":{"name":"github.com/kubernetes/kube-state-metrics","ecosystem":"Go","purl":"pkg:golang/github.com/kubernetes/kube-state-metrics"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.7.0"},{"fixed":"1.7.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-2v6x-frw8-7r7f/GHSA-2v6x-frw8-7r7f.json"}},{"package":{"name":"k8s.io/kube-state-metrics","ecosystem":"Go","purl":"pkg:golang/k8s.io/kube-state-metrics"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.7.0"},{"fixed":"1.7.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-2v6x-frw8-7r7f/GHSA-2v6x-frw8-7r7f.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}