CVE-2020-8565 json
Incomplete fix for CVE-2019-11250 allows for token leak in logs when logLevel >= 9
published 2020-12-07 5 y ago modified 2026-09-10 1 mo ago also GHSA-8cfg-vx93-jvxw , GO-2021-0064 , EUVD-2023-0665
- cvss
- 4.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
Summary
In Kubernetes, if the logging level is set to at least 9, authorization and bearer tokens will be written to log files. This can occur both in API server logs and client tool output like kubectl. This affects <= v1.19.3, <= v1.18.10, <= v1.17.13, < v1.20.0-alpha2.
Patch / fix
- go k8s.io/client-go 0.17.16, 0.18.14, 0.19.6, 0.20.0-alpha.2
- go k8s.io/kubernetes 1.20.0-alpha.2
- kubernetes Debian 14, Debian 13, Debian 12 1.20.0-1
debian advisories DEBIAN-CVE-2020-8565
- mcg openshift data foundation 4.9 5.9.0-28.61dcf87.5.9.el8
red hat advisories RHSA-2021:5085
- kubernetes SLE Module for Containers 15 SP1 1.17.13-4.21.2
suse advisories SUSE-SU-2020:3760-1
- local-path-provisioner Azure Linux 3.0 0.0.24-5
azure linux advisories AZL-41878
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- github.com/kubernetes/client-go@19875a3 commit
- github.com/kubernetes/client-go@1b8383f commit
- github.com/kubernetes/client-go@44e1a07 commit
- github.com/kubernetes/client-go@e8f871a commit
- github.com/kubernetes/kubernetes@e99df0e commit
- github.com/kubernetes/kubernetes#95316 pull request
- groups.google.com/g/kubernetes-security-discuss/c/vm-HcrFUOCs/m/36utxAM5CwAJ advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-8565 updated cvss 5.3
kubernetes: Incomplete fix for CVE-2019-11250 allows for token leak in logs when logLevel >= 9
-
Red Hat OpenShift Container Platform 3.11 atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, atomic-openshift-clients, +7 moreaffected: no fix planned “Will not fix”
-
Red Hat Openshift Container Storage 4 mcg, odf4/ocs-rhel9-operatoraffected: no fix available
-
Red Hat Storage 3 heketi, heketi-client, python-heketi, rhgs3/rhgs-gluster-block-prov-rhel7affected: no fix planned “Will not fix”
-
Red Hat OpenShift Container Storage 4.7 on RHEL-8 ocs4/rook-ceph-rhel8-operator 4.7-140.49a6fcf.release_4.7fixed: vendor fix RHSA-2021:2041
-
Red Hat OpenShift Container Storage 4.8 on RHEL-8 ocs4/ocs-operator-bundle 4.8.0-5, ocs4/mcg-core-rhel8 5.8.0-38.e060925.5.8, ocs4/mcg-rhel8-operator 5.8.0-27.4a6ca5f.5.8, ocs4/cephcsi-rhel8 4.8-125.01872cc.release_4.8, ocs4/ocs-rhel8-operator 4.8-196.a35d7d7.release_4.8, ocs4/ocs-must-gather-rhel8 4.8-196.a35d7d7.release_4.8, +2 morefixed: vendor fix RHBA-2021:3003
-
Red Hat OpenShift Data Foundation 4.9 on RHEL-8 mcg 5.9.0-28.61dcf87.5.9.el8, odf4/ocs-operator-bundle 4.9.0-5, odf4/odf-operator-bundle 4.9.0-5, odf4/odr-hub-operator-bundle 4.9.0-5, odf4/odr-cluster-operator-bundle 4.9.0-5, odf4/odf-multicluster-operator-bundle 4.9.0-5, +10 morefixed: vendor fix RHSA-2021:5085
-
Red Hat OpenShift Container Platform 4 openshift, openshift-clients, openshift-kubelet, openshift-hyperkube, openshift-kube-apiserver, openshift-kube-scheduler, +3 more Red Hat OpenShift Container Storage 4.7 on RHEL-8 ocs4/ocs-operator-bundle 4.7.0-11, ocs4/mcg-core-rhel8 5.7.0-60.2c1fdb0.5.7, ocs4/mcg-rhel8-operator 5.7.0-69.85e2026.5.7, ocs4/cephcsi-rhel8 4.7-102.5c44836.release_4.7, ocs4/ocs-rhel8-operator 4.7-174.7f14177.release_4.7, ocs4/ocs-must-gather-rhel8 4.7-174.7f14177.release_4.7not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.52% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.1 | 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | k8s.io/client-go | >=0.19.0, <0.19.6 >=0.20.0-alpha.0, <0.20.0-alpha.2 >=0.18.0, <0.18.14 <0.17.16 <0.20.0-alpha.2 |
0.19.6 0.20.0-alpha.2 0.18.14 0.17.16 |
| go | k8s.io/kubernetes | <1.20.0-alpha.2 |
1.20.0-alpha.2 |
Affected products
- Kubernetes Kubernetes
Classification
- Weakness
-
- CWE-532 Insertion of Sensitive Information into Log File
- Technology feeds
References
-
groups.google.com
/g/kubernetes-security-discuss/c/vm-HcrFUOCs/m/36utxAM5CwAJ
mailing-list, web, patch, third-party-advisory
-
github.com
/kubernetes/kubernetes/pull/95316
web, patch
-
github.com
/kubernetes/client-go/commit/19875a3d5a2e0d4f51c976a9e0662de3c2c011e3
web
-
github.com
/kubernetes/client-go/commit/1b8383fc150c9b816b0072032cca75754c2734d0
web
-
github.com
/kubernetes/client-go/commit/44e1a07f2d513e375c4b6ee6e890040b47befe86
web
-
github.com
/kubernetes/client-go/commit/e8f871a2e5fadf90fc114565abc0963967f1a373
web
-
github.com
/kubernetes/kubernetes/commit/e99df0e5a75eb6e86123b56d53e9b7ca0fd00419
web, patch
-
github.com
/kubernetes/kubernetes/issues/95623
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-8565
advisory
-
github.com
/kubernetes/client-go
package
-
pkg.go.dev
/vuln/GO-2021-0064
web
Sources
- CVE List CVE-2020-8565
- GitHub Advisory GHSA-8cfg-vx93-jvxw
- NVD CVE-2020-8565
- OSV GO-2021-0064
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.