CVE-2014-6407: High severity Docker Docker vulnerability
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.
Other sources
The following flaw has been fixed in Docker 1.3.2:
"" The Docker engine, up to and including version 1.3.1, was vulnerable to extracting files to arbitrary paths on the host during ‘docker pull’ and ‘docker load’ operations. This was caused by symlink and hardlink traversals present in Docker's image extraction. This vulnerability could be leveraged to perform remote code execution and privilege escalation.
Docker 1.3.2 remedies this vulnerability. Additional checks have been added to pkg/archive and image extraction is now performed in a chroot. No remediation is available for older versions of Docker and users are advised to upgrade. ""
Acknowledgements:
Red Hat would like to thank the Docker project for reporting these issues. Upstream acknowledges Florian Weimer of Red Hat Product Security and independent researcher Tõnis Tiigi as the original reporters.
Reference:
http://seclists.org/oss-sec/2014/q4/781
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/dockerto a version that resolves this vulnerability.Fixed in 1.3.2 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.3.2
Event History
Frequently Asked Questions
What is the severity of CVE-2014-6407?
CVE-2014-6407 has a high severity rating due to the potential for remote code execution and unauthorized file access.
How do I fix CVE-2014-6407?
To fix CVE-2014-6407, upgrade to Docker version 1.3.2 or later.
What systems are affected by CVE-2014-6407?
CVE-2014-6407 affects Docker versions 1.0.0 to 1.3.1.
What types of attacks are possible using CVE-2014-6407?
CVE-2014-6407 allows attackers to exploit symlink or hard link attacks to write to arbitrary files.
When was CVE-2014-6407 reported?
CVE-2014-6407 was reported in December 2014.