title: Kubernetes client-go logs authorization headers at debug verbosity levels
description: The Kubernetes client-go library logs request headers at verbosity levels of 7 or higher. This can disclose credentials to unauthorized users via logs or command output. Kubernetes components (such as kube-apiserver) prior to v1.16.0, which make use of basic or bearer token authentication, and run at high verbosity levels, are affected.
problem types: CWE-532: Inclusion of Sensitive Information in Log Files
affected:
{
product: Kubernetes
vendor: Kubernetes
versions:
status: affected, version: prior to 1.16
}
metrics:
cvssV3_0: [
attackComplexity: HIGH
attackVector: LOCAL
availabilityImpact: NONE
baseScore: 4.7
baseSeverity: MEDIUM
confidentialityImpact: HIGH
integrityImpact: NONE
privilegesRequired: LOW
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
version: 3.0
]
workarounds: lower log verbosity levels to <= 6