title: Docker config secrets leaked when file is malformed and loglevel >= 4
description: In Kubernetes clusters using a logging level of at least 4, processing a malformed docker config file will result in the contents of the docker config file being leaked, which can include pull secrets or other registry credentials. 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.