CVE-2020-8566: Github.com/kubernetes/kubernetes Sensitive Information Leak Vulnerability
MODERATECVE-2020-8566 is a MODERATE (CVSS 5.3) sensitive information leak vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Github.com/kubernetes/kubernetes libraries in the Go ecosystem. The issue involves sensitive information leak via log file in kubernetes. Remediation is available by upgrading affected packages to version 1.17.13, 1.18.10, 1.19.3.
CVE-2020-8566 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2020-8566
To remediate this vulnerability, upgrade all affected Github.com/kubernetes/kubernetes dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/kubernetes/kubernetes to 1.17.13
Upgrade github.com/kubernetes/kubernetes to 1.18.10
Upgrade github.com/kubernetes/kubernetes to 1.19.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/kubernetes/kubernetes
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-8566, inspect your project dependencies for Github.com/kubernetes/kubernetes:
inspect dependencies for github.com/kubernetes/kubernetes
Analyze the terminal output to locate any version of Github.com/kubernetes/kubernetes in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.17.13), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Github.com/kubernetes/kubernetes, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2020-8566 Affected Github.com/kubernetes/kubernetes Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/kubernetes/kubernetes
|
Go |
< 1.17.13
|
1.17.13
|
|
github.com/kubernetes/kubernetes
|
Go |
≥ 1.18.0
< 1.18.10
|
1.18.10
|
|
github.com/kubernetes/kubernetes
|
Go |
≥ 1.19.0
< 1.19.3
|
1.19.3
|
References
Frequently Asked Questions
What is CVE-2020-8566?
Which Github.com/kubernetes/kubernetes versions are affected?
What version fixes CVE-2020-8566?
Is github.com/kubernetes/kubernetes affected?
What is the CVSS score of CVE-2020-8566?
What CWE is associated with CVE-2020-8566?
How can I check Go dependencies for CVE-2020-8566?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5x96-j797-5qqw",
"modified" : "2024-04-24T20:02:08Z",
"published" : "2024-04-24T20:02:08Z",
"aliases" : [ "CVE-2020-8566" ],
"summary" : "Sensitive Information leak via Log File in Kubernetes",
"details" : "In Kubernetes clusters using Ceph RBD as a storage provisioner, with logging level of at least 4, Ceph RBD admin secrets can be written to logs. This occurs in kube-controller-manager's logs during provisioning of Ceph RBD persistent claims. This affects < v1.19.3, < v1.18.10, < v1.17.13.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/kubernetes/kubernetes"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.17.13"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/kubernetes/kubernetes"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.18.0"
}, {
"fixed" : "1.18.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/kubernetes/kubernetes"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.19.0"
}, {
"fixed" : "1.19.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-8566"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes/kubernetes/issues/95624"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes/kubernetes/pull/95245"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes/kubernetes/pull/95245/commits/e91ec4fad3366d2dee020919f7c2a0d7b52fd3ea"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1886640"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kubernetes/kubernetes"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/g/kubernetes-announce/c/ScdmyORnPDk"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/g/kubernetes-security-discuss/c/vm-HcrFUOCs/m/36utxAM5CwAJ"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20210122-0006"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-532" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-24T20:02:08Z",
"nvd_published_at" : null
}
}