CVE-2014-9358: Github.com/docker/docker Path Traversal Vulnerability
MODERATECVE-2014-9358 is a MODERATE (CVSS 6.5) path traversal vulnerability (CWE-59: Improper Link Resolution Before File Access ('Link Following')) affecting Github.com/docker/docker libraries in the Go ecosystem. The issue involves directory traversal in docker. Remediation is available by upgrading affected packages to version 1.3.2.
CVE-2014-9358 at a Glance
Security Impact
CVSS: 6.5
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:N).
How to Fix CVE-2014-9358
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-9358, 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-9358 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-9358?
Which Github.com/docker/docker versions are affected?
What version fixes CVE-2014-9358?
Is github.com/docker/docker affected?
What is the CVSS score of CVE-2014-9358?
What CWE is associated with CVE-2014-9358?
How can I check Go dependencies for CVE-2014-9358?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qmmc-jppf-32wv",
"modified" : "2021-05-20T21:02:14Z",
"published" : "2022-02-15T00:41:14Z",
"aliases" : [ "CVE-2014-9358" ],
"summary" : "Directory Traversal in Docker",
"details" : "Docker before 1.3.3 does not properly validate image IDs, which allows remote attackers to conduct path traversal attacks and spoof repositories via a crafted image in a (1) \"docker load\" operation or (2) \"registry communications.\"",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
} ],
"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-9358"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/cve-2014-9358"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/forum/#!msg/docker-user/nFAz-B-n4Bw/0wr3wvLsnUwJ"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/forum/#%21msg/docker-user/nFAz-B-n4Bw/0wr3wvLsnUwJ"
}, {
"type" : "WEB",
"url" : "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-9358"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/archive/1/534215/100/0/threaded"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-59" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-20T21:02:14Z",
"nvd_published_at" : null
}
}