GHSA-2v6x-frw8-7r7f

Suggest an improvement
Source
https://github.com/advisories/GHSA-2v6x-frw8-7r7f
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-2v6x-frw8-7r7f/GHSA-2v6x-frw8-7r7f.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-2v6x-frw8-7r7f
Aliases
Withdrawn
2024-01-23T17:50:31Z
Published
2021-05-18T15:38:54Z
Modified
2024-01-23T17:50:31Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Duplicate Advisory: k8s.io/kube-state-metrics Exposure of Sensitive Information
Details

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-c92w-72c5-9x59. This link is maintained to preserve external references.

Original Description

A security issue was discovered in kube-state-metrics 1.7.x before 1.7.2. An experimental feature was added to v1.7.0 and v1.7.1 that enabled annotations to be exposed as metrics. By default, 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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-200"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2021-05-17T21:04:15Z"
}
References

Affected packages

Go / github.com/kubernetes/kube-state-metrics

Package

Name
github.com/kubernetes/kube-state-metrics
View open source insights on deps.dev
Purl
pkg:golang/github.com/kubernetes/kube-state-metrics

Affected ranges

Type
SEMVER
Events
Introduced
1.7.0
Fixed
1.7.2

Go / k8s.io/kube-state-metrics

Package

Name
k8s.io/kube-state-metrics
View open source insights on deps.dev
Purl
pkg:golang/k8s.io/kube-state-metrics

Affected ranges

Type
SEMVER
Events
Introduced
1.7.0
Fixed
1.7.2