CVE-2018-12608: Github.com/docker/docker Authentication Bypass Vulnerability
HIGHCVE-2018-12608 is a HIGH (CVSS 7.5) authentication bypass vulnerability (CWE-288: Authentication Bypass Using an Alternate Path or Channel) affecting Github.com/docker/docker libraries in the Go ecosystem. The issue involves docker authentication bypass. Remediation is available by upgrading affected packages to version 17.06.0-ce.
CVE-2018-12608 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2018-12608
To remediate this vulnerability, upgrade all affected Github.com/docker/docker dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/docker/docker to 17.06.0-ce
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/docker/docker
How to Check if You Are Affected
To determine whether your application is affected by CVE-2018-12608, inspect your project dependencies for Github.com/docker/docker:
inspect dependencies for github.com/docker/docker
Analyze the terminal output to locate any version of Github.com/docker/docker in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 17.06.0-ce), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-288: Authentication Bypass Using an Alternate Path or Channel, where the product requires authentication, but the product has an alternate path or channel that does not require authentication. In Github.com/docker/docker, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2018-12608 Affected Github.com/docker/docker Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/docker/docker
|
Go |
< 17.06.0-ce
|
17.06.0-ce
|
References
Frequently Asked Questions
What is CVE-2018-12608?
Which Github.com/docker/docker versions are affected?
What version fixes CVE-2018-12608?
Is github.com/docker/docker affected?
What is the CVSS score of CVE-2018-12608?
What CWE is associated with CVE-2018-12608?
How can I check Go dependencies for CVE-2018-12608?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qrqr-3x5j-2xw9",
"modified" : "2024-07-08T15:54:29Z",
"published" : "2024-01-31T23:28:22Z",
"aliases" : [ "CVE-2018-12608" ],
"summary" : "Docker Authentication Bypass",
"details" : "An issue was discovered in Docker Moby before 17.06.0. The Docker engine validated a client TLS certificate using both the configured client CA root certificate and all system roots on non-Windows systems. This allowed a client with any domain validated certificate signed by a system-trusted root CA (as opposed to one signed by the configured CA root certificate) to authenticate.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/docker/docker"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "17.06.0-ce"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-12608"
}, {
"type" : "WEB",
"url" : "https://github.com/moby/moby/issues/33173"
}, {
"type" : "WEB",
"url" : "https://github.com/moby/moby/pull/33182"
}, {
"type" : "WEB",
"url" : "https://github.com/moby/moby/commit/190c6e8cf8b893874a33d83f78307f1bed0bfbcd"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/moby/moby"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-288" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-01-31T23:28:22Z",
"nvd_published_at" : null
}
}