CVE-2014-5277: Github.com/docker/docker Man-in-the-Middle (MitM) Vulnerability

MODERATE
Advisory Identifier: GHSA-8w94-cf6g-c8mg
CVSS 5.3
Published
Advisory Summary

CVE-2014-5277 is a MODERATE (CVSS 5.3) man-in-the-middle (mitm) vulnerability (General Security Weakness) affecting Github.com/docker/docker libraries in the Go ecosystem. The issue involves man-in-the-middle (mitm). Remediation is available by upgrading affected packages to version 1.3.1.

CVE-2014-5277 at a Glance

CVE Identifier CVE-2014-5277
GHSA Identifier GHSA-8w94-cf6g-c8mg
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification General Security Weakness
Affected Product Github.com/docker/docker
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2014-5277

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.

github.com/docker/docker fixed: 1.3.1
Upgrade github.com/docker/docker to 1.3.1
Verify Direct and Transitive Dependencies

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-2014-5277, 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 1.3.1), 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 General Security Weakness. 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

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.

CVE-2014-5277 Affected Github.com/docker/docker Versions

1 component(s)
Fixed Versions:
1.3.1
Product / Package Ecosystem Affected Versions Fixed Version
github.com/docker/docker
Go
< 1.3.1
1.3.1

References

Frequently Asked Questions

What is CVE-2014-5277?
CVE-2014-5277 is a security vulnerability in Github.com/docker/docker involving Man-in-the-Middle (MitM) under General Security Weakness.
Which Github.com/docker/docker versions are affected?
Affected versions include releases prior to 1.3.1 across affected packages: github.com/docker/docker.
What version fixes CVE-2014-5277?
Upgrading to 1.3.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/docker/docker affected?
Yes, github.com/docker/docker is affected in releases prior to 1.3.1. Upgrade your dependency to 1.3.1 or later.
What is the CVSS score of CVE-2014-5277?
CVE-2014-5277 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2014-5277?
CVE-2014-5277 is classified under General Security Weakness.
How can I check Go dependencies for CVE-2014-5277?
Run the dependency tree command: 'inspect dependencies for github.com/docker/docker'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-8w94-cf6g-c8mg",
  "modified" : "2024-11-22T22:52:42Z",
  "published" : "2022-02-15T01:57:18Z",
  "aliases" : [ "CVE-2014-5277" ],
  "summary" : "Man-in-the-Middle (MitM)",
  "details" : "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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/docker/docker"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.3.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-5277"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/docker/docker/commit/8caacb18f8019dfda30d79c327397e5f5783c068"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/docker/docker"
  }, {
    "type" : "WEB",
    "url" : "https://groups.google.com/forum/#!topic/docker-user/oYm0i3xShJU"
  }, {
    "type" : "WEB",
    "url" : "https://groups.google.com/forum/#%21topic/docker-user/oYm0i3xShJU"
  }, {
    "type" : "WEB",
    "url" : "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-5277"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-updates/2014-11/msg00048.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-05-13T21:41:48Z",
    "nvd_published_at" : null
  }
}