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

Published Oct 9, 2020
·
Updated

A flaw was found in kubernetes. In Kubernetes, if the logging level is to 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 can occur with client tools like kubectl, or other components that use registry credentials in a docker config file.

Other sources

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.

IBM

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 Software

14 affected componentsFixes available
redhat/atomic-openshift<0:3.11.501-1.git.0.f8c4746.el7
0:3.11.501-1.git.0.f8c4746.el7
redhat/openshift-clients<0:4.6.0-202010081244.p0.git.3794.4743d24.el8
0:4.6.0-202010081244.p0.git.3794.4743d24.el8
redhat/openshift<0:4.6.0-202101160934.p0.git.94242.fc5242e.el7
0:4.6.0-202101160934.p0.git.94242.fc5242e.el7
redhat/kubernetes<1.19.3
1.19.3
redhat/kubernetes<1.18.10
1.18.10
redhat/kubernetes<1.17.13
1.17.13
go/k8s.io/kubernetes<1.20.0-alpha.1
1.20.0-alpha.1
go/github.com/kubernetes/kubernetes<1.17.13
1.17.13
go/github.com/kubernetes/kubernetes>=1.18.0<1.18.10
1.18.10
go/github.com/kubernetes/kubernetes>=1.19.0<1.19.3
1.19.3
Kubernetes kubernetes>=1.17.0<1.17.13
Kubernetes kubernetes>=1.18.0<1.18.10
Kubernetes kubernetes>=1.19.0<1.19.3
IBM Netezza Software<=11.3.0.3-IF2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/atomic-openshift to a version that resolves this vulnerability.

    Fixed in 0:3.11.501-1.git.0.f8c4746.el7
  2. Upgrade

    Upgrade redhat/openshift-clients to a version that resolves this vulnerability.

    Fixed in 0:4.6.0-202010081244.p0.git.3794.4743d24.el8
  3. Upgrade

    Upgrade redhat/openshift to a version that resolves this vulnerability.

    Fixed in 0:4.6.0-202101160934.p0.git.94242.fc5242e.el7
  4. Upgrade

    Upgrade redhat/kubernetes to a version that resolves this vulnerability.

    Fixed in 1.19.3
  5. Upgrade

    Upgrade redhat/kubernetes to a version that resolves this vulnerability.

    Fixed in 1.18.10
  6. Upgrade

    Upgrade redhat/kubernetes to a version that resolves this vulnerability.

    Fixed in 1.17.13
  7. Upgrade

    Upgrade go/k8s.io/kubernetes to a version that resolves this vulnerability.

    Fixed in 1.20.0-alpha.1
  8. Upgrade

    Upgrade go/github.com/kubernetes/kubernetes to a version that resolves this vulnerability.

    Fixed in 1.17.13
  9. Upgrade

    Upgrade go/github.com/kubernetes/kubernetes to a version that resolves this vulnerability.

    Fixed in 1.18.10
  10. Upgrade

    Upgrade go/github.com/kubernetes/kubernetes to a version that resolves this vulnerability.

    Fixed in 1.19.3
  11. Upgrade

    Upgrade kubernetes to a version that resolves this vulnerability.

    Fixed in v1.19.3
  12. Upgrade

    Upgrade kubernetes to a version that resolves this vulnerability.

    Fixed in v1.18.10
  13. Upgrade

    Upgrade kubernetes to a version that resolves this vulnerability.

    Fixed in v1.17.13
  14. Configuration

    In Kubernetes clusters, set the logging level to less than 4 to prevent leaking contents of a malformed docker config file (which may include pull secrets/registry credentials).

    Kubernetes logging level = < 4

Event History

Oct 14, 2020
CVE Published
12:00 AM
Dec 7, 2020
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
DescriptionSeverityWeakness
Feb 6, 2023
Advisory Published
via GitHub·11:27 PM
Aug 20, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is CVE-2020-8564?

CVE-2020-8564 is a vulnerability in Kubernetes that allows the contents of a malformed Docker config file to be leaked, potentially exposing pull secrets or other registry credentials.

2

How severe is CVE-2020-8564?

CVE-2020-8564 has a severity score of 5.3, which is considered medium.

3

How can I fix CVE-2020-8564?

To fix CVE-2020-8564, update your Kubernetes to version 1.20.0-alpha.1, 1.17.13, 1.18.10, 1.19.3, or later.

4

Where can I find more information about CVE-2020-8564?

You can find more information about CVE-2020-8564 on the CVE website, the NVD website, and in the Kubernetes GitHub repository.

5

What is the Common Weakness Enumeration (CWE) for CVE-2020-8564?

The CWE for CVE-2020-8564 is CWE-117 (Improper Output Neutralization for Logs) and CWE-532 (Information Exposure Through Log Files).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203