GoWorst: Moderate2 advisories

k8s.io/kube-state-metrics: known vulnerabilities

k8s.io/kube-state-metrics has 2 reviewed security advisories in the GitHub Advisory Database — 2 moderate. The most recent was published 2021-05-18. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the k8s.io/kube-state-metrics versions running across your servers, containers and images, and ranks what to patch first.

How to fix k8s.io/kube-state-metrics

Upgrade k8s.io/kube-state-metrics to a release at or above the fixed version shown for each advisory below. For Go:

go get k8s.io/kube-state-metrics@1.7.2 && go mod tidy (check govulncheck)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (2)

Duplicate Advisory: k8s.io/kube-state-metrics Exposure of Sensitive Information Moderate 6.5 CWE-200 — Affected: from 1.7.0 up to 1.7.2. Fixed in 1.7.2. Published 2021-05-18. GHSA-2v6x-frw8-7r7f · CVE-2019-10223
kube-state-metrics may expose secret content in metrics Moderate 6.5 CWE-200 — Affected: from 1.7.0 up to 1.7.2. Fixed in 1.7.2. Published 2019-11-05. GHSA-c92w-72c5-9x59 · CVE-2019-10223

Find k8s.io/kube-state-metrics across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.