CWE
532 117
Advisory Published
CVE Published
CVE Published
Advisory Published
Updated

CVE-2020-8566: Ceph RBD adminSecrets exposed in logs when loglevel >= 4

First published: Fri Oct 09 2020(Updated: )

A flaw was found in kubernetes. If the logging level is to at least 4, and Ceph RBD is configured as a storage provisioner, then Ceph RBD admin secrets can be written to logs. This occurs in kube-controller-manager's logs during provisioning of Ceph RBD persistent claims.

Credit: jordan@liggitt.net jordan@liggitt.net

Affected SoftwareAffected VersionHow to fix
redhat/openshift<0:4.7.0-202102060108.p0.git.97095.7271b90.el8
0:4.7.0-202102060108.p0.git.97095.7271b90.el8
Kubernetes Kubernetes>=1.17.0<1.17.13
Kubernetes Kubernetes>=1.18.0<1.18.10
Kubernetes Kubernetes>=1.19.0<1.19.3
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/github.com/kubernetes/kubernetes>=1.19.0<1.19.3
1.19.3
go/github.com/kubernetes/kubernetes>=1.18.0<1.18.10
1.18.10
go/github.com/kubernetes/kubernetes<1.17.13
1.17.13

Remedy

OCP Clusters not using Ceph RBD volumes are not vulnerable to this issue. For clusters using Ceph RBD volumes, this can be mitigated by ensuring the logging level is below 4 and protecting unauthorized access to cluster logs. For OCP, the logging level for core components can be configured using operators, e.g. for kube-controller-manager: https://docs.openshift.com/container-platform/latest/rest_api/operator_apis/kubecontrollermanager-operator-openshift-io-v1.html#specification In OCP, a logging level of "Debug" is equivalent to 4: https://github.com/openshift/api/blob/master/operator/v1/types.go#L96 The default logging level is "Normal", which is equivalent to 2. Clusters running with the default level are not vulnerable to this issue.

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2020-8566?

    CVE-2020-8566 is a vulnerability found in Kubernetes clusters using Ceph RBD as a storage provisioner, where Ceph RBD admin secrets can be written to logs.

  • How does CVE-2020-8566 affect Kubernetes clusters?

    CVE-2020-8566 affects Kubernetes clusters with logging level of at least 4, during the provisioning of Ceph RBD persistent claims.

  • What is the severity of CVE-2020-8566?

    CVE-2020-8566 has a severity rating of 5.3 (medium).

  • Which versions of Kubernetes are affected by CVE-2020-8566?

    Kubernetes versions < v1.19.3, < v1.18.10, < v1.17.13 are affected by CVE-2020-8566.

  • How can I fix CVE-2020-8566 in my Kubernetes cluster?

    To fix CVE-2020-8566, update Kubernetes to version 1.19.3, 1.18.10, or 1.17.13.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203