Advisory

GO-2022-0621

Also known as: CVE-2019-10223, CVE-2019-17110, GHSA-2v6x-frw8-7r7f, GHSA-c92w-72c5-9x59

Summary

Exposure of sensitive information in k8s.io/kube-state-metrics

Details

Exposing annotations as metrics can leak secrets.

An experimental feature of kube-state-metrics enables annotations to be exposed as metrics. By default, 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.

Severity

Not rated by the source.

Dates

Published
2021-05-18 15:38 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

k8s.io/kube-state-metrics

Go · All systems

Affected

  • introduced 1.7.0, fixed 1.7.2 (semver)

Fixed versions

1.7.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences