CVE-2015-3629: Github.com/docker/docker Arbitrary File Write Vulnerability
HIGHCVE-2015-3629 is a HIGH (CVSS 8.4) arbitrary file write 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 file write in libcontainer. Remediation is available by upgrading affected packages to version 1.6.1.
CVE-2015-3629 at a Glance
Security Impact
CVSS: 8.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2015-3629
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.6.1
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-2015-3629, 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.6.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 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-2015-3629 Affected Github.com/docker/docker Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/docker/docker
|
Go |
≥ 1.6.0
< 1.6.1
|
1.6.1
|
References
Frequently Asked Questions
What is CVE-2015-3629?
Which Github.com/docker/docker versions are affected?
What version fixes CVE-2015-3629?
Is github.com/docker/docker affected?
What is the CVSS score of CVE-2015-3629?
What CWE is associated with CVE-2015-3629?
How can I check Go dependencies for CVE-2015-3629?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g44j-7vp3-68cv",
"modified" : "2024-02-02T15:59:34Z",
"published" : "2022-02-15T01:57:18Z",
"aliases" : [ "CVE-2015-3629" ],
"summary" : "Arbitrary File Write in Libcontainer",
"details" : "Libcontainer 1.6.0, as used in Docker Engine, allows local users to escape containerization (\"mount namespace breakout\") and write to arbitrary file on the host system via a symlink attack in an image when respawning a container.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/docker/docker"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.6.0"
}, {
"fixed" : "1.6.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-3629"
}, {
"type" : "WEB",
"url" : "https://github.com/docker/docker/commit/d5ebb60bddbabea0439213501f4f6ed494b23cba"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/forum/#!searchin/docker-user/1.6.1/docker-user/47GZrihtr-4/nwgeOOFLexIJ"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/forum/#%21searchin/docker-user/1.6.1/docker-user/47GZrihtr-4/nwgeOOFLexIJ"
}, {
"type" : "WEB",
"url" : "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-3629"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-updates/2015-05/msg00023.html"
}, {
"type" : "WEB",
"url" : "http://packetstormsecurity.com/files/131835/Docker-Privilege-Escalation-Information-Disclosure.html"
}, {
"type" : "WEB",
"url" : "http://seclists.org/fulldisclosure/2015/May/28"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/74558"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-59" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-19T22:08:41Z",
"nvd_published_at" : "2015-05-18T15:59:15Z"
}
}