Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1jOTJ3LTcyYzUtOXg1Oc4AAik3
kube-state-metrics may expose secret content in metrics
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.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1jOTJ3LTcyYzUtOXg1Oc4AAik3
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: almost 2 years ago
Updated: about 1 year ago
CVSS Score: 6.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Identifiers: GHSA-c92w-72c5-9x59, CVE-2019-10223
References:
- https://nvd.nist.gov/vuln/detail/CVE-2019-10223
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10223
- https://github.com/kubernetes/kube-state-metrics/releases/tag/v1.7.2
- https://www.openwall.com/lists/oss-security/2019/08/09/1
- http://www.openwall.com/lists/oss-security/2019/08/15/8
- https://github.com/kubernetes/kube-state-metrics/commit/03122fe3e2df49a9a7298b8af921d3c37c430f7f
- https://pkg.go.dev/vuln/GO-2022-0621
- https://github.com/advisories/GHSA-c92w-72c5-9x59
Blast Radius: 19.5
Affected Packages
go:k8s.io/kube-state-metrics
Dependent packages: 88Dependent repositories: 1,016
Downloads:
Affected Version Ranges: >= 1.7.0, < 1.7.2
Fixed in: 1.7.2
All affected versions: 1.7.0, 1.7.1
All unaffected versions: 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.4.1, 0.5.0, 1.0.0, 1.0.1, 1.1.0, 1.2.0, 1.3.0, 1.3.1, 1.4.0, 1.5.0, 1.6.0, 1.7.2, 1.8.0, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5, 1.9.6, 1.9.7, 1.9.8