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

Medium 4.7 Published Updated

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.

PackageAffectedFixed in
github.com/kubernetes/kubernetes GoAll versions1.17.13
github.com/kubernetes/kubernetes GoAll versions1.17.13
github.com/kubernetes/kubernetes GoFrom 1.18.01.18.10
github.com/kubernetes/kubernetes GoFrom 1.18.01.18.10
github.com/kubernetes/kubernetes GoFrom 1.19.01.19.3
github.com/kubernetes/kubernetes GoFrom 1.19.01.19.3
1 more packages
k8s.io/kubernetes GoAll versions1.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.

All Kubernetes Kubernetes vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-8566, GHSA-5x96-j797-5qqw, GO-2024-2754.

Is CVE-2020-8566 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free