In Docker CE and EE before 18.09.8 (as well as Docker EE before 17.06.2-ee-23 and 18.x before 18.03.1-ee-10), Docker Engine in debug mode may sometimes add secrets to the debug log. This applies to a scenario where docker stack deploy is run to redeploy a stack that includes (non external) secrets. It potentially applies to other API users of the stack API if they resend the secret.
http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00084.html
http://www.securityfocus.com/bid/109253
https://docs.docker.com/engine/release-notes/
https://seclists.org/bugtraq/2019/Sep/21
Source: MITRE
Published: 2019-07-18
Updated: 2019-08-27
Type: CWE-532
Base Score: 5
Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N
Impact Score: 2.9
Exploitability Score: 10
Severity: MEDIUM
Base Score: 7.5
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Impact Score: 3.6
Exploitability Score: 3.9
Severity: HIGH