# CVE-2020-8564: Docker config secrets leaked when file is malformed and loglevel \>= 4

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.52% (percentile 37, 2026-11-26)
- **CWE:** CWE-532
- **Aliases:** GHSA-8mjg-8c8g-6h85, GO-2021-0066
- **Published:** 2020-12-07T22:00:22.445Z
- **Modified:** 2026-09-10T03:49:56.750Z

## Who should check

- Projects that depend on Go package github.com/kubernetes/kubernetes (\>= 1.19.0, \< 1.19.3)
- Projects that depend on Go package k8s.io/kubernetes (\< 1.20.0-alpha.1)
- Anyone running Kubernetes \< 1.19.3; \< 1.18.10; \< 1.17.13

## 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 and fixed versions

- Go `github.com/kubernetes/kubernetes`: affected \>= 1.19.0, \< 1.19.3; fixed 1.19.3, 1.18.10, 1.17.13 (osv)
- Go `k8s.io/kubernetes`: affected \< 1.20.0-alpha.1; fixed 1.20.0-alpha.1 (osv)
- Kubernetes: \< 1.19.3; \< 1.18.10; \< 1.17.13 (cvelist)

## Mitigation

- Upgrade github.com/kubernetes/kubernetes to one of 1.19.3, 1.18.10, 1.17.13 (or later in the same release line).
- Upgrade k8s.io/kubernetes to 1.20.0-alpha.1 or later.
- Vendor workaround: Do not enable verbose logging in production (log level \>= 4), limit access to logs.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2020-8564. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-8564.md
Affected: github.com/kubernetes/kubernetes >= 1.19.0, < 1.19.3; k8s.io/kubernetes < 1.20.0-alpha.1
Fixed in: 1.19.3, 1.18.10, 1.17.13, 1.20.0-alpha.1

Steps:
1. Search this machine and project for github.com/kubernetes/kubernetes (Go), k8s.io/kubernetes (Go), Kubernetes: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2020-8564 being exploited?

There is no confirmed exploitation: CVE-2020-8564 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.52% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2020-8564?

Medium: CVSS 4.7 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2020-8564?

github.com/kubernetes/kubernetes \>= 1.19.0, \< 1.19.3; k8s.io/kubernetes \< 1.20.0-alpha.1.

### Is there a fix for CVE-2020-8564?

Yes. Fixed in 1.19.3, 1.18.10, 1.17.13, 1.20.0-alpha.1. Upgrade github.com/kubernetes/kubernetes to one of 1.19.3, 1.18.10, 1.17.13 (or later in the same release line). Upgrade k8s.io/kubernetes to 1.20.0-alpha.1 or later. Vendor workaround: Do not enable verbose logging in production (log level \>= 4), limit access to logs.

### How do I check if I'm affected by CVE-2020-8564?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2020-8564>
- patch: <https://groups.google.com/g/kubernetes-security-discuss/c/vm-HcrFUOCs/m/36utxAM5CwAJ>
- patch: <https://github.com/kubernetes/kubernetes/pull/94712>
- patch: <https://github.com/kubernetes/kubernetes/commit/11793434dac97a49bfed0150b56ac63e5dc34634>
- other: <https://github.com/kubernetes/kubernetes/issues/95622>
- other: <https://security.netapp.com/advisory/ntap-20210122-0006/>
- other: <https://github.com/kubernetes/kubernetes>
- other: <https://pkg.go.dev/vuln/GO-2021-0066>
- other: <https://security.netapp.com/advisory/ntap-20210122-0006>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2020-8564>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-8mjg-8c8g-6h85> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2021-0066> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2020-8564> · JSON: <https://flawdb.com/api/v1/entries/CVE-2020-8564>
