CVE Vulnerabilities

CVE-2020-8566

Insertion of Sensitive Information into Log File

Published: Dec 07, 2020 | Modified: Mar 29, 2021
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
2.1 LOW
AV:L/AC:L/Au:N/C:P/I:N/A:N
RedHat/V2
RedHat/V3
5.3 MODERATE
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Ubuntu
MEDIUM

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-managers logs during provisioning of Ceph RBD persistent claims. This affects < v1.19.3, < v1.18.10, < v1.17.13.

Weakness

Information written to log files can be of a sensitive nature and give valuable guidance to an attacker or expose sensitive user information.

Affected Software

Name Vendor Start Version End Version
Kubernetes Kubernetes 1.17.0 (including) 1.17.13 (excluding)
Kubernetes Kubernetes 1.18.0 (including) 1.18.10 (excluding)
Kubernetes Kubernetes 1.19.0 (including) 1.19.3 (excluding)
Red Hat OpenShift Container Platform 4.6 RedHat openshift4/ose-hyperkube:v4.6.0-202101090040.p0 *
Red Hat OpenShift Container Platform 4.7 RedHat openshift-0:4.7.0-202102060108.p0.git.97095.7271b90.el8 *
Kubernetes Ubuntu groovy *
Kubernetes Ubuntu hirsute *
Kubernetes Ubuntu impish *
Kubernetes Ubuntu kinetic *
Kubernetes Ubuntu lunar *
Kubernetes Ubuntu mantic *

Extended Description

While logging all information may be helpful during development stages, it is important that logging levels be set appropriately before a product ships so that sensitive user data and system information are not accidentally exposed to potential attackers. Different log files may be produced and stored for:

Potential Mitigations

References