CVE-2014-6407 Arbitrary Code Execution in Docker
Remote attackers can execute arbitrary code and write files via symlink or hard link attacks in Docker image archives during pull or load operations.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2014-6407?
CVE-2014-6407 is a high-severity path traversal vulnerability in n/a, published on 12 Dec 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-59
Which versions are affected by CVE-2014-6407?
3 open source packages ship an affected version, including github.com/docker/docker. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/docker/docker Go | All versions | 1.3.2 |
github.com/docker/docker Go | All versions | 1.3.2 |
github.com/docker/docker Go | All versions | 1.3.2 |
Products include Docker Docker.
How do I fix CVE-2014-6407?
Upgrade github.com/docker/docker to 1.3.2 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2014-6407 being exploited?
There is no known exploitation of CVE-2014-6407 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as CVE-2014-3605, DEBIAN-CVE-2014-6407, GHSA-5qgp-p5jc-w2rm, GO-2022-0630.