Skip to content

CVE-2018-15664 In Docker through 18.06.1-ce-rc2, the API endpoints behind the 'docker cp' command are vulnerable to a symlink-exchange attack with Directory Traversal, giving attackers arbitrary read-write access to...

HighCVSS 7.5 EPSS 3.4%
Published
Updated
Exploit status
No public exploit known
Technology
DockerUbuntuDebian

Description

In Docker through 18.06.1-ce-rc2, the API endpoints behind the 'docker cp' command are vulnerable to a symlink-exchange attack with Directory Traversal, giving attackers arbitrary read-write access to the host filesystem with root privileges, because daemon/archive.go does not do archive operations on a frozen filesystem (or from within a chroot).

Upgrade path

22 packages: 21 fixed.

PackageAffectedFixed inStatus
alpine/docker(Alpine v3.10) < 18.09.7-r0 18.09.7-r0 Fixed
alpine/docker(Alpine v3.11) < 18.09.7 18.09.7 Fixed
alpine/docker(Alpine v3.12) < 18.09.7-r0 18.09.7-r0 Fixed
alpine/docker(Alpine v3.13) < 18.09.7-r0 18.09.7-r0 Fixed
alpine/docker(Alpine v3.14) < 18.09.7-r0 18.09.7-r0 Fixed
alpine/docker(Alpine v3.15) < 18.09.7-r0 18.09.7-r0 Fixed
alpine/docker(Alpine v3.16) < 18.09.7-r0 18.09.7-r0 Fixed
alpine/docker(Alpine v3.17) < 18.09.7-r0 18.09.7-r0 Fixed
alpine/docker(Alpine v3.18) < 18.09.7-r0 18.09.7-r0 Fixed
alpine/docker(Alpine v3.19) < 18.09.7-r0 18.09.7-r0 Fixed
alpine/docker(Alpine v3.20) < 18.09.7-r0 18.09.7-r0 Fixed
alpine/docker(Alpine v3.21) < 18.09.7-r0 18.09.7-r0 Fixed
alpine/docker(Alpine v3.22) < 18.09.7-r0 18.09.7-r0 Fixed
alpine/docker(Alpine v3.23) < 18.09.7-r0 18.09.7-r0 Fixed
alpine/docker(Alpine v3.24) < 18.09.7-r0 18.09.7-r0 Fixed
alpine/docker(Alpine v3.9) < 18.09.7 18.09.7 Fixed
debian/docker.io(Debian 12) < 18.09.1+dfsg1-7.1 18.09.1+dfsg1-7.1 Fixed
debian/docker.io(Debian 13) < 18.09.1+dfsg1-7.1 18.09.1+dfsg1-7.1 Fixed
debian/docker.io(Debian 14) < 18.09.1+dfsg1-7.1 18.09.1+dfsg1-7.1 Fixed
ubuntu/docker.io(Ubuntu 16.04) < 18.09.7-0ubuntu1~16.04.4; = 1.6.2~dfsg1-1ubuntu4; = 1.10.2-0ubuntu3; = 1.10.2-0ubuntu4 +15 more 18.09.7-0ubuntu1~16.04.4 Fixed
ubuntu/docker.io(Ubuntu 18.04) < 18.09.7-0ubuntu1~18.04.3; = 1.13.1-0ubuntu6; = 17.03.2-0ubuntu1; = 17.03.2-0ubuntu3 +7 more 18.09.7-0ubuntu1~18.04.3 Fixed
docker github.com/docker/docker = 17.06.0-ce; = 17.06.0-ce-rc1; = 17.06.0-ce-rc2; = 17.06.0-ce-rc3 +60 more No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/docker.io(Debian:12) < 18.09.1+dfsg1-7.1 18.09.1+dfsg1-7.1
debian/docker.io(Debian:13) < 18.09.1+dfsg1-7.1 18.09.1+dfsg1-7.1
debian/docker.io(Debian:14) < 18.09.1+dfsg1-7.1 18.09.1+dfsg1-7.1
docker github.com/docker/docker = 17.06.0-ce No fix listed
docker github.com/docker/docker = 17.06.0-ce-rc1 No fix listed
docker github.com/docker/docker = 17.06.0-ce-rc2 No fix listed
docker github.com/docker/docker = 17.06.0-ce-rc3 No fix listed
docker github.com/docker/docker = 17.06.0-ce-rc4 No fix listed
docker github.com/docker/docker = 17.06.0-ce-rc5 No fix listed
docker github.com/docker/docker = 17.06.1-ce No fix listed
docker github.com/docker/docker = 17.06.1-ce-rc1 No fix listed
docker github.com/docker/docker = 17.06.1-ce-rc2 No fix listed
docker github.com/docker/docker = 17.06.1-ce-rc3 No fix listed
docker github.com/docker/docker = 17.06.1-ce-rc4 No fix listed
docker github.com/docker/docker = 17.06.2-ce No fix listed
docker github.com/docker/docker = 17.06.2-ce-rc1 No fix listed
docker github.com/docker/docker = 17.07.0-ce No fix listed
docker github.com/docker/docker = 17.07.0-ce-rc1 No fix listed
docker github.com/docker/docker = 17.07.0-ce-rc2 No fix listed
docker github.com/docker/docker = 17.07.0-ce-rc3 No fix listed
docker github.com/docker/docker = 17.07.0-ce-rc4 No fix listed
docker github.com/docker/docker = 17.09.0-ce No fix listed
docker github.com/docker/docker = 17.09.0-ce-rc1 No fix listed
docker github.com/docker/docker = 17.09.0-ce-rc2 No fix listed
docker github.com/docker/docker = 17.09.0-ce-rc3 No fix listed
Show 88 more
ProductAffected versionsFixed in
docker github.com/docker/docker = 17.09.1-ce No fix listed
docker github.com/docker/docker = 17.09.1-ce--rc1 No fix listed
docker github.com/docker/docker = 17.10.0-ce No fix listed
docker github.com/docker/docker = 17.10.0-ce-rc1 No fix listed
docker github.com/docker/docker = 17.10.0-ce-rc2 No fix listed
docker github.com/docker/docker = 17.11.0-ce No fix listed
docker github.com/docker/docker = 17.11.0-ce-rc1 No fix listed
docker github.com/docker/docker = 17.11.0-ce-rc2 No fix listed
docker github.com/docker/docker = 17.11.0-ce-rc3 No fix listed
docker github.com/docker/docker = 17.11.0-ce-rc4 No fix listed
docker github.com/docker/docker = 17.12.0-ce No fix listed
docker github.com/docker/docker = 17.12.0-ce-rc1 No fix listed
docker github.com/docker/docker = 17.12.0-ce-rc2 No fix listed
docker github.com/docker/docker = 17.12.0-ce-rc3 No fix listed
docker github.com/docker/docker = 17.12.0-ce-rc4 No fix listed
docker github.com/docker/docker = 17.12.1-ce No fix listed
docker github.com/docker/docker = 17.12.1-ce-rc1 No fix listed
docker github.com/docker/docker = 17.12.1-ce-rc2 No fix listed
docker github.com/docker/docker = 18.01.0-ce No fix listed
docker github.com/docker/docker = 18.01.0-ce-rc1 No fix listed
docker github.com/docker/docker = 18.02.0-ce No fix listed
docker github.com/docker/docker = 18.02.0-ce-rc1 No fix listed
docker github.com/docker/docker = 18.02.0-ce-rc2 No fix listed
docker github.com/docker/docker = 18.03.0-ce No fix listed
docker github.com/docker/docker = 18.03.0-ce-rc1 No fix listed
docker github.com/docker/docker = 18.03.0-ce-rc2 No fix listed
docker github.com/docker/docker = 18.03.0-ce-rc3 No fix listed
docker github.com/docker/docker = 18.03.0-ce-rc4 No fix listed
docker github.com/docker/docker = 18.03.1-ce No fix listed
docker github.com/docker/docker = 18.03.1-ce-rc1 No fix listed
docker github.com/docker/docker = 18.03.1-ce-rc2 No fix listed
docker github.com/docker/docker = 18.04.0-ce No fix listed
docker github.com/docker/docker = 18.04.0-ce-rc1 No fix listed
docker github.com/docker/docker = 18.04.0-ce-rc2 No fix listed
docker github.com/docker/docker = 18.05.0-ce No fix listed
docker github.com/docker/docker = 18.05.0-ce-rc1 No fix listed
docker github.com/docker/docker = 18.06.0-ce No fix listed
docker github.com/docker/docker = 18.06.0-ce-rc1 No fix listed
docker github.com/docker/docker = 18.06.0-ce-rc2 No fix listed
docker github.com/docker/docker = 18.06.0-ce-rc3 No fix listed
docker github.com/docker/docker = 18.06.1-ce-rc1 No fix listed
docker github.com/docker/docker = 18.06.1-ce-rc2 No fix listed
alpine/docker(Alpine:v3.10) < 18.09.7-r0 18.09.7-r0
alpine/docker(Alpine:v3.11) < 18.09.7 18.09.7
alpine/docker(Alpine:v3.12) < 18.09.7-r0 18.09.7-r0
alpine/docker(Alpine:v3.13) < 18.09.7-r0 18.09.7-r0
alpine/docker(Alpine:v3.14) < 18.09.7-r0 18.09.7-r0
alpine/docker(Alpine:v3.15) < 18.09.7-r0 18.09.7-r0
alpine/docker(Alpine:v3.16) < 18.09.7-r0 18.09.7-r0
alpine/docker(Alpine:v3.17) < 18.09.7-r0 18.09.7-r0
alpine/docker(Alpine:v3.18) < 18.09.7-r0 18.09.7-r0
alpine/docker(Alpine:v3.19) < 18.09.7-r0 18.09.7-r0
alpine/docker(Alpine:v3.20) < 18.09.7-r0 18.09.7-r0
alpine/docker(Alpine:v3.21) < 18.09.7-r0 18.09.7-r0
alpine/docker(Alpine:v3.22) < 18.09.7-r0 18.09.7-r0
alpine/docker(Alpine:v3.23) < 18.09.7-r0 18.09.7-r0
alpine/docker(Alpine:v3.24) < 18.09.7-r0 18.09.7-r0
alpine/docker(Alpine:v3.9) < 18.09.7 18.09.7
ubuntu/docker.io(Ubuntu:16.04) < 18.09.7-0ubuntu1~16.04.4 18.09.7-0ubuntu1~16.04.4
ubuntu/docker.io(Ubuntu:16.04) = 1.6.2~dfsg1-1ubuntu4 No fix listed
ubuntu/docker.io(Ubuntu:16.04) = 1.10.2-0ubuntu3 No fix listed
ubuntu/docker.io(Ubuntu:16.04) = 1.10.2-0ubuntu4 No fix listed
ubuntu/docker.io(Ubuntu:16.04) = 1.10.3-0ubuntu1 No fix listed
ubuntu/docker.io(Ubuntu:16.04) = 1.10.3-0ubuntu4 No fix listed
ubuntu/docker.io(Ubuntu:16.04) = 1.10.3-0ubuntu5 No fix listed
ubuntu/docker.io(Ubuntu:16.04) = 1.10.3-0ubuntu6 No fix listed
ubuntu/docker.io(Ubuntu:16.04) = 1.11.2-0ubuntu5~16.04 No fix listed
ubuntu/docker.io(Ubuntu:16.04) = 1.12.1-0ubuntu13~16.04.1 No fix listed
ubuntu/docker.io(Ubuntu:16.04) = 1.12.3-0ubuntu4~16.04.2 No fix listed
ubuntu/docker.io(Ubuntu:16.04) = 1.12.6-0ubuntu1~16.04.1 No fix listed
ubuntu/docker.io(Ubuntu:16.04) = 1.13.1-0ubuntu1~16.04.2 No fix listed
ubuntu/docker.io(Ubuntu:16.04) = 17.03.2-0ubuntu2~16.04.1 No fix listed
ubuntu/docker.io(Ubuntu:16.04) = 18.06.1-0ubuntu1~16.04.2 No fix listed
ubuntu/docker.io(Ubuntu:16.04) = 18.06.1-0ubuntu1.2~16.04.1 No fix listed
ubuntu/docker.io(Ubuntu:16.04) = 18.09.2-0ubuntu1~16.04.1 No fix listed
ubuntu/docker.io(Ubuntu:16.04) = 18.09.5-0ubuntu1~16.04.2 No fix listed
ubuntu/docker.io(Ubuntu:16.04) = 18.09.7-0ubuntu1~16.04.1 No fix listed
ubuntu/docker.io(Ubuntu:18.04) < 18.09.7-0ubuntu1~18.04.3 18.09.7-0ubuntu1~18.04.3
ubuntu/docker.io(Ubuntu:18.04) = 1.13.1-0ubuntu6 No fix listed
ubuntu/docker.io(Ubuntu:18.04) = 17.03.2-0ubuntu1 No fix listed
ubuntu/docker.io(Ubuntu:18.04) = 17.03.2-0ubuntu3 No fix listed
ubuntu/docker.io(Ubuntu:18.04) = 17.03.2-0ubuntu5 No fix listed
ubuntu/docker.io(Ubuntu:18.04) = 17.12.1-0ubuntu1 No fix listed
ubuntu/docker.io(Ubuntu:18.04) = 18.06.1-0ubuntu1~18.04.1 No fix listed
ubuntu/docker.io(Ubuntu:18.04) = 18.06.1-0ubuntu1.2~18.04.1 No fix listed
ubuntu/docker.io(Ubuntu:18.04) = 18.09.2-0ubuntu1~18.04.1 No fix listed
ubuntu/docker.io(Ubuntu:18.04) = 18.09.5-0ubuntu1~18.04.2 No fix listed
ubuntu/docker.io(Ubuntu:18.04) = 18.09.7-0ubuntu1~18.04.1 No fix listed

References