title: Ceph RBD adminSecrets exposed in logs when loglevel >= 4
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.
problem types: CWE-532 Information Exposure Through Log Files
affected:
{
product: Kubernetes
vendor: Kubernetes
versions:
status: affected, version: < 1.19.3
status: affected, version: < 1.18.10
status: affected, version: < 1.17.13
}
metrics:
cvssV3_1: [
attackComplexity: HIGH
attackVector: LOCAL
availabilityImpact: NONE
baseScore: 4.7
baseSeverity: MEDIUM
confidentialityImpact: HIGH
integrityImpact: NONE
privilegesRequired: LOW
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
version: 3.1
]
workarounds: Do not enable verbose logging in production (log level >= 4), limit access to logs.