Lucene search

K
osvGoogleOSV:GHSA-C92W-72C5-9X59
HistoryMay 24, 2022 - 5:00 p.m.

kube-state-metrics may expose secret content in metrics

2022-05-2417:00:21
Google
osv.dev
10
kube-state-metrics
v1.7.0
v1.7.1
v1.7.2
security issue
secret content
metrics
upgrade

EPSS

0.002

Percentile

64.3%

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.

EPSS

0.002

Percentile

64.3%