CVE-2020-8565
MEDIUM4.7EPSS 0.06%Unauthorized credential disclosure via debug logs in k8s.io/kubernetes and k8s.io/client-go
Published: 2/6/2023Modified: 4/28/2026
Description
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.
Affected packages (4)
- Debian/kubernetesfrom 0, < 1.20.0-1
- Go/k8s.io/client-go>= 0.19.0, < 0.19.6
- Go/k8s.io/client-gofrom 0, < 0.20.0-alpha.2
- Go/k8s.io/kubernetesfrom 0, < 1.20.0-alpha.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
References (12)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2020-8565
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2020-8565
- PATCHhttps://github.com/kubernetes/client-go
- WEBhttps://github.com/kubernetes/client-go/commit/19875a3d5a2e0d4f51c976a9e0662de3c2c011e3
- WEBhttps://github.com/kubernetes/client-go/commit/1b8383fc150c9b816b0072032cca75754c2734d0
- WEBhttps://github.com/kubernetes/client-go/commit/44e1a07f2d513e375c4b6ee6e890040b47befe86
- WEBhttps://github.com/kubernetes/client-go/commit/e8f871a2e5fadf90fc114565abc0963967f1a373
- WEBhttps://github.com/kubernetes/kubernetes/commit/e99df0e5a75eb6e86123b56d53e9b7ca0fd00419
- WEBhttps://github.com/kubernetes/kubernetes/issues/95623
- WEBhttps://github.com/kubernetes/kubernetes/pull/95316
- WEBhttps://groups.google.com/g/kubernetes-security-discuss/c/vm-HcrFUOCs/m/36utxAM5CwAJ
- WEBhttps://pkg.go.dev/vuln/GO-2021-0064