KeygraphLabs · CVE MCP

CVE-2020-8564 · kubernetes

Docker config secrets leaked when file is malformed and loglevel >= 4

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.

Published 2020-12-07, last changed 2026-06-17. Weakness: CWE-532.

CVSS
5.5
medium, from NVD
EPSS
0.52%
percentile 45.6%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: github.com/kubernetes/kubernetes 1.17.13, 1.18.10, 1.19.3 (Go); k8s.io/kubernetes 1.20.0-alpha.1 (Go) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in kubernetes/kubernetes by pull request #94712, 11793434da, e24c1e8df2. Functions changed by the fix: ReadDockercfgFile, readDockerConfigFileFromBytes, readDockerConfigJSONFileFromBytes. Regression tests: pkg/credentialprovider/config_test.go. Confidence: verified (a record names this commit as the fix, and it changed these functions).

Timeline

2020-12-07Published
2021-04-14Package advisory GO-2021-0066
2023-02-06Package advisory GHSA-8mjg-8c8g-6h85
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 0.52%
2026-12-05Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-8mjg-8c8g-6h85github.com/kubernetes/kubernetes (Go)1.19.3
GHSA-8mjg-8c8g-6h85github.com/kubernetes/kubernetes (Go)1.18.10
GHSA-8mjg-8c8g-6h85github.com/kubernetes/kubernetes (Go)1.17.13
GHSA-8mjg-8c8g-6h85k8s.io/kubernetes (Go)1.20.0-alpha.1
GO-2021-0066k8s.io/kubernetes (Go)1.20.0-alpha.1

Also known as: GHSA-8mjg-8c8g-6h85, GO-2021-0066

Credited: @sfowl (other), Nikolaos Moraitis (Red Hat) (other)

Related

CVEPublishedCVSSSummary
CVE-2022-32942023-03-018.8Node address isn't always verified when proxying
CVE-2022-31622023-03-016.5Unauthorized read of Custom Resources
CVE-2020-85662020-12-075.5Ceph RBD adminSecrets exposed in logs when loglevel >= 4
CVE-2020-85632020-12-075.5Secret leaks in logs for vSphere Provider kube-controller-manager
CVE-2018-10021052018-12-059.8same package: github.com/kubernetes/kubernetes (Go)
CVE-2015-75282016-04-115.3same package: github.com/kubernetes/kubernetes (Go)
CVE-2016-19052016-02-037.7same package: github.com/kubernetes/kubernetes (Go)
CVE-2015-53052015-11-066.4same package: github.com/kubernetes/kubernetes (Go)

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2020-8564, or call /api/v1/vulnerabilities/CVE-2020-8564. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org