CVE-2014-9358 Directory Traversal in Docker
Remote attackers can exploit improper image ID validation in Docker to perform path traversal and spoof repositories via crafted images.
- 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-9358?
CVE-2014-9358 is a medium-severity path traversal vulnerability in n/a, published on 16 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.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."
Weakness: CWE-20
Which versions are affected by CVE-2014-9358?
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-9358?
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-9358 being exploited?
There is no known exploitation of CVE-2014-9358 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2014-9358, GHSA-qmmc-jppf-32wv, GO-2022-0705.