CVE-2020-8564 is a medium-severity (CVSS 5.5) CWE-532 vulnerability in github.com/kubernetes/kubernetes. A fix is available for github.com/kubernetes/kubernetes — see the affected versions and patch details below.
Kubernetes Sensitive Information leak via Log File
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
github.com/kubernetes/kubernetes🐹github.com/kubernetes/kubernetes🐹github.com/kubernetes/kubernetes🐹k8s.io/kubernetesReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/kubernetes/kubernetes | ≥ 1.19.0&&< 1.19.3 | 1.19.3go get github.com/kubernetes/kubernetes@v1.19.3 |
| 🐹Go | github.com/kubernetes/kubernetes | ≥ 1.18.0&&< 1.18.10 | 1.18.10go get github.com/kubernetes/kubernetes@v1.18.10 |
| 🐹Go | github.com/kubernetes/kubernetes | all versions | 1.17.13go get github.com/kubernetes/kubernetes@v1.17.13 |
| 🐹Go | k8s.io/kubernetes | all versions | 1.20.0-alpha.1go get k8s.io/kubernetes@v1.20.0-alpha.1 |
Affected Products
kuberneteskubernetesDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/kubernetes/kubernetes, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/kubernetes/kubernetes to 1.19.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-8564 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat OpenShift Container Platform 3.11 | atomic-openshift-0:3.11.501-1.git.0.f8c4746.el7 | RHSA-2021:3193 |
| Red Hat OpenShift Container Platform 4.4 | openshift4/ose-docker-builder:v4.4.0-202101261542.p0 | RHSA-2021:0281 |
| Red Hat OpenShift Container Platform 4.5 | openshift4/ose-docker-builder:v4.5.0-202012050338.p0 | RHSA-2020:5359 |
| Red Hat OpenShift Container Platform 4.6 | openshift-clients-0:4.6.0-202010081244.p0.git.3794.4743d24.el7 | RHSA-2020:4297 |
| Red Hat OpenShift Container Platform 4.6 | openshift-0:4.6.0-202101160934.p0.git.94242.fc5242e.el7 | RHSA-2021:0172 |
| Red Hat OpenShift Container Platform 4.6 | openshift4/ose-docker-builder:v4.6.0-202012050130.p0 | RHSA-2020:5259 |
| Red Hat OpenShift Container Platform 4.6 | openshift4/ose-hyperkube:v4.6.0-202101160934.p0 | RHSA-2021:0171 |
Frequently Asked Questions
Is CVE-2020-8564 in your dependencies?
Find it across Go, including transitive dependencies.