CVE-2018-12608: Docker Authentication Bypass
7.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.30231%
CWE
Published
1/31/2024
Updated
7/8/2024
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| github.com/docker/docker | go | < 17.06.0-ce | 17.06.0-ce |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from Docker's TLS configuration accepting both the user-specified CA and system CAs for client authentication. The critical change in the patch was adding 'ExclusiveRootPools: true' to the tlsOptions struct in cmd/dockerd/daemon.go. This flag ensures only the configured CA is used when present. The function DaemonCli.start() handles this TLS setup, making it the vulnerable component before the fix. The test additions in docker_cli_daemon_test.go confirm the intended behavior of exclusive CA validation.