CVE-2020-8564: Github.com/kubernetes/kubernetes Kubernetes Sensitive Information Leak Vulnerability
MODERATECVE-2020-8564 is a MODERATE (CVSS 4.7) kubernetes 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 kubernetes sensitive information leak via log file. Remediation is available by upgrading affected packages to version 1.19.3, 1.18.10, 1.17.13, 1.20.0-alpha.1.
CVE-2020-8564 at a Glance
Security Impact
CVSS: 4.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2020-8564
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.19.3
Upgrade github.com/kubernetes/kubernetes to 1.18.10
Upgrade github.com/kubernetes/kubernetes to 1.17.13
Upgrade k8s.io/kubernetes to 1.20.0-alpha.1
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-8564, 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.19.3), 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-8564 Affected Github.com/kubernetes/kubernetes Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/kubernetes/kubernetes
|
Go |
≥ 1.19.0
< 1.19.3
|
1.19.3
|
|
github.com/kubernetes/kubernetes
|
Go |
≥ 1.18.0
< 1.18.10
|
1.18.10
|
|
github.com/kubernetes/kubernetes
|
Go |
< 1.17.13
|
1.17.13
|
|
k8s.io/kubernetes
|
Go |
< 1.20.0-alpha.1
|
1.20.0-alpha.1
|
References
Frequently Asked Questions
What is CVE-2020-8564?
Which Github.com/kubernetes/kubernetes versions are affected?
What version fixes CVE-2020-8564?
Is github.com/kubernetes/kubernetes affected?
Is k8s.io/kubernetes affected?
What is the CVSS score of CVE-2020-8564?
What CWE is associated with CVE-2020-8564?
How can I check Go dependencies for CVE-2020-8564?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8mjg-8c8g-6h85",
"modified" : "2024-05-20T19:26:49Z",
"published" : "2023-02-06T23:27:00Z",
"aliases" : [ "CVE-2020-8564" ],
"summary" : "Kubernetes Sensitive Information leak via Log File",
"details" : "In Kubernetes clusters using a logging level of at least 4, processing a malformed docker config file will result in the contents of the docker config file being leaked, which can include pull secrets or other registry credentials. This affects < v1.19.3, < v1.18.10, < v1.17.13.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/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" : "1.19.0"
}, {
"fixed" : "1.19.3"
} ]
} ]
}, {
"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" : "0"
}, {
"fixed" : "1.17.13"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "k8s.io/kubernetes"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.20.0-alpha.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-8564"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes/kubernetes/issues/95622"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes/kubernetes/pull/94712"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes/kubernetes/commit/11793434dac97a49bfed0150b56ac63e5dc34634"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kubernetes/kubernetes"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/g/kubernetes-security-discuss/c/vm-HcrFUOCs/m/36utxAM5CwAJ"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2021-0066"
}, {
"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" : "2023-02-06T23:27:00Z",
"nvd_published_at" : null
}
}