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 Software | Affected Version | How 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 |
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.
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
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.
CVE-2020-8566 affects Kubernetes clusters with logging level of at least 4, during the provisioning of Ceph RBD persistent claims.
CVE-2020-8566 has a severity rating of 5.3 (medium).
Kubernetes versions < v1.19.3, < v1.18.10, < v1.17.13 are affected by CVE-2020-8566.
To fix CVE-2020-8566, update Kubernetes to version 1.19.3, 1.18.10, or 1.17.13.