CVE-2020-8566 Ceph RBD adminSecrets exposed in logs when loglevel >= 4
Attackers with log access can read Ceph RBD admin secrets when Kubernetes logging is verbose, exposing sensitive storage credentials.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-8566?
CVE-2020-8566 is a medium-severity vulnerability in Kubernetes Kubernetes, published on 7 Dec 2020. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In Kubernetes clusters using Ceph RBD as a storage provisioner, with logging level of at least 4, Ceph RBD admin secrets can be written to logs. This occurs in kube-controller-manager's logs during provisioning of Ceph RBD persistent claims. This affects < v1.19.3, < v1.18.10, < v1.17.13.
Weakness: CWE-532
Which versions are affected by CVE-2020-8566?
7 open source packages ship an affected version, including github.com/kubernetes/kubernetes and k8s.io/kubernetes. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/kubernetes/kubernetes Go | All versions | 1.17.13 |
github.com/kubernetes/kubernetes Go | All versions | 1.17.13 |
github.com/kubernetes/kubernetes Go | From 1.18.0 | 1.18.10 |
github.com/kubernetes/kubernetes Go | From 1.18.0 | 1.18.10 |
github.com/kubernetes/kubernetes Go | From 1.19.0 | 1.19.3 |
github.com/kubernetes/kubernetes Go | From 1.19.0 | 1.19.3 |
1 more packages
k8s.io/kubernetes Go | All versions | 1.17.13, 1.18.10, 1.19.3 |
Products include Kubernetes Kubernetes.
How do I fix CVE-2020-8566?
Upgrade github.com/kubernetes/kubernetes to a fixed version for your release line: 1.17.13, 1.18.10 or 1.19.3.
Is CVE-2020-8566 being exploited?
There is no known exploitation of CVE-2020-8566 in the wild and no public exploit code.
Other vulnerabilities in Kubernetes Kubernetes
- CVE-2018-1002105 Privilege Escalation in Kubernetes
- CVE-2017-1000056 Kubernetes Privilege Escalation
- CVE-2016-1906 Authorization bypass in Openshift
- CVE-2023-3676 Kubernetes - Windows nodes - Insufficient input sanitization leads to privilege escalation
- CVE-2023-3955 Kubernetes - Windows nodes - Insufficient input sanitization leads to privilege escalation
Sources
Also known as DEBIAN-CVE-2020-8566, GHSA-5x96-j797-5qqw, GO-2024-2754.