CVE-2014-6407: Github.com/docker/docker Arbitrary Code Execution Vulnerability
HIGHCVE-2014-6407 is a HIGH (CVSS 7.3) arbitrary code execution vulnerability (CWE-59: Improper Link Resolution Before File Access ('Link Following')) affecting Github.com/docker/docker libraries in the Go ecosystem. The issue involves arbitrary code execution in docker. Remediation is available by upgrading affected packages to version 1.3.2.
CVE-2014-6407 at a Glance
Security Impact
CVSS: 7.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:L/A:L).
How to Fix CVE-2014-6407
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 1.3.2
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-6407, 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.2), 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-59: Improper Link Resolution Before File Access ('Link Following'), where the product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource. 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-2014-6407 Affected Github.com/docker/docker Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/docker/docker
|
Go |
< 1.3.2
|
1.3.2
|
References
Frequently Asked Questions
What is CVE-2014-6407?
Which Github.com/docker/docker versions are affected?
What version fixes CVE-2014-6407?
Is github.com/docker/docker affected?
What is the CVSS score of CVE-2014-6407?
What CWE is associated with CVE-2014-6407?
How can I check Go dependencies for CVE-2014-6407?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5qgp-p5jc-w2rm",
"modified" : "2021-05-20T21:03:55Z",
"published" : "2022-02-15T00:41:12Z",
"aliases" : [ "CVE-2014-6407" ],
"summary" : "Arbitrary Code Execution in Docker",
"details" : "Docker before 1.3.2 allows remote attackers to write to arbitrary files and execute arbitrary code via a (1) symlink or (2) hard link attack in an image archive in a (a) pull or (b) load operation.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/docker/docker"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.3.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-6407"
}, {
"type" : "WEB",
"url" : "https://github.com/docker/docker/commit/3ac6394b8082d4700483d52fbfe54914be537d9e"
}, {
"type" : "WEB",
"url" : "https://docs.docker.com/v1.3/release-notes"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/pipermail/package-announce/2014-December/145154.html"
}, {
"type" : "WEB",
"url" : "https://lists.opensuse.org/opensuse-security-announce/2014-12/msg00009.html"
}, {
"type" : "WEB",
"url" : "https://secunia.com/advisories/60171"
}, {
"type" : "WEB",
"url" : "https://secunia.com/advisories/60241"
}, {
"type" : "WEB",
"url" : "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-6407"
}, {
"type" : "WEB",
"url" : "https://www.openwall.com/lists/oss-security/2014/11/24/5"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-59" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-20T21:03:55Z",
"nvd_published_at" : null
}
}