CVE-2014-5277 Man-in-the-Middle (MitM)

Medium 5.0 Published Updated

Man-in-the-middle attackers can downgrade Docker registry connections to HTTP, exposing authentication credentials and image data.

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

What is CVE-2014-5277?

CVE-2014-5277 is a medium-severity vulnerability in n/a, published on 17 Nov 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Docker before 1.3.1 and docker-py before 0.5.3 fall back to HTTP when the HTTPS connection to the registry fails, which allows man-in-the-middle attackers to conduct downgrade attacks and obtain authentication and image data by leveraging a network position between the client and the registry to block HTTPS traffic.

Weakness: CWE-17

Which versions are affected by CVE-2014-5277?

4 open source packages ship an affected version, including github.com/docker/docker and docker-py. It affects 2 products.

PackageAffectedFixed in
github.com/docker/docker GoAll versions1.3.1
github.com/docker/docker GoAll versions1.3.1
github.com/docker/docker GoAll versions1.3.1
docker-py PyPIAll versions0.5.3

Products include Docker Docker, Docker Docker-Py.

How do I fix CVE-2014-5277?

Upgrade github.com/docker/docker to 1.3.1 or later.

Is CVE-2014-5277 being exploited?

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

Sources

Also known as DEBIAN-CVE-2014-5277, GHSA-8w94-cf6g-c8mg, GO-2022-0636, PYSEC-2014-80, UBUNTU-CVE-2014-5277.

Is CVE-2014-5277 in your software?

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

Check your SBOMs for free