CVE-2019-10223

MEDIUMCVSS 6.5/10EPSS 1.78%

Last modified

CVE-2019-10223 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 1.78% chance of exploitation in the next 30 days.

Description

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.

Metrics

CVSS 3.1
6.5/10

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

EPSS Probability
1.78%

75.4th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
KubernetesKube-State-Metrics1.7.0
KubernetesKube-State-Metrics1.7.1
RedhatOpenshift Container Platform3.11
RedhatOpenshift Container Platform4.1
RedhatOpenshift Container Platform4.2

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2019-10223?
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.
How severe is CVE-2019-10223?
CVE-2019-10223 has a CVSS score of 6.5/10 (MEDIUM severity). The EPSS model estimates a 1.78% probability of exploitation in the next 30 days.
How do I fix CVE-2019-10223?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2019-10223?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST