CVE-2018-12608 Docker Authentication Bypass

High 7.5 Published Updated

Docker Engine incorrectly validated client TLS certificates against system roots, allowing unauthorized clients to authenticate.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-12608?

CVE-2018-12608 is a high-severity authentication bypass vulnerability in n/a, published on 10 Sep 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-295

Which versions are affected by CVE-2018-12608?

2 open source packages ship an affected version, including github.com/docker/docker. It affects 1 product.

PackageAffectedFixed in
github.com/docker/docker GoAll versions17.06.0-ce
github.com/docker/docker GoAll versions17.06.0-ce

Products include Mobyproject Moby.

How do I fix CVE-2018-12608?

Upgrade github.com/docker/docker to 17.06.0-ce or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2018-12608 being exploited?

There is no known exploitation of CVE-2018-12608 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2018-12608, GHSA-qrqr-3x5j-2xw9, UBUNTU-CVE-2018-12608.

Is CVE-2018-12608 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free