Skip to content
OpenAdvisories
Unscored CVE-2018-15664 EUVD-2018-7535GHSA-pv79-5r2c-jrpq

In Docker through 18.06.1-ce-rc2, the API endpoints behind the 'docker cp' command are vulnerable to a symlink-exchange attack with Directo…

Published May 23, 2019 · Updated Aug 5, 2024 · Assigned by mitre

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).

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 docker.io 18.09.1+dfsg1-7.1 —
Debian 13 docker.io 18.09.1+dfsg1-7.1 —
Debian 12 docker.io 18.09.1+dfsg1-7.1 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS docker.io 18.09.7-0ubuntu1~18.04.3 USN-4048-1
Ubuntu 16.04 LTS docker.io 18.09.7-0ubuntu1~16.04.4 USN-4048-1
ReleasePackageFixed inAdvisory
Red Hat Rhel Extras Other 7 docker +7 2:1.13.1-102.git7f2769b.el7 RHSA-2019:1910
ReleasePackageFixed inAdvisory
SLES 15 SP7 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES 15 SP6 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES 15 SP5 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES 15 SP4 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES 15 SP3 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 15 SP1 docker 18.09.6_ce-6.20.3 SUSE-SU-2019:1562-1
SLES 15 SP1 fuse-overlayfs 0.4.1-3.3.8 SUSE-SU-2019:2223-1
SLES 15 SP1 fuse3 3.6.1-3.3.8 SUSE-SU-2019:2223-1
SLES 15 SP1 libcontainers-common 20190401-3.3.5 SUSE-SU-2019:2223-1
SLES 15 SP1 podman 1.4.4-4.8.1 SUSE-SU-2019:2223-1
SLES 15 SP1 slirp4netns 0.3.0-3.3.3 SUSE-SU-2019:2223-1
SLES 15 docker 18.09.6_ce-6.20.3 SUSE-SU-2019:1562-1
SLES 12 SP5 docker-stable 24.0.9_ce-1.20.1 SUSE-SU-2025:03540-1
SLES 12 docker 18.09.6_ce-98.40.1 SUSE-SU-2019:1514-1
SLES for SAP 15 SP5 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES for SAP 15 SP4 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES for SAP 15 SP3 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLE HPC 15 SP5 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLE HPC 15 SP4 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLE HPC 15 SP3 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SUSE Enterprise Storage 7.1 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed docker 20.10.6_ce-2.1 openSUSE-SU-2024:10722-1
openSUSE Tumbleweed docker-stable 24.0.9_ce-15.1 openSUSE-SU-2025:15589-1
openSUSE Tumbleweed libcontainers-common 20210626-5.1 openSUSE-SU-2024:10931-1
openSUSE Leap 15.6 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
openSUSE Leap 15.1 docker 18.09.6_ce-lp151.2.6.1 openSUSE-SU-2019:1621-1
openSUSE Leap 15.1 fuse-overlayfs 0.4.1-lp151.2.1 openSUSE-SU-2019:2044-1
openSUSE Leap 15.1 fuse3 3.6.1-lp151.2.1 openSUSE-SU-2019:2044-1
openSUSE Leap 15.1 libcontainers-common 20190401-lp151.2.3.1 openSUSE-SU-2019:2044-1
openSUSE Leap 15.1 podman 1.4.4-lp151.3.3.1 openSUSE-SU-2019:2044-1
openSUSE Leap 15.1 slirp4netns 0.3.0-lp151.2.3.1 openSUSE-SU-2019:2044-1
openSUSE Leap 15.0 docker 18.09.6_ce-lp151.2.6.1 openSUSE-SU-2019:1621-1
ReleasePackageFixed inAdvisory
Alpine v3.24 docker 18.09.7-r0 —
Alpine v3.23 docker 18.09.7-r0 —
Alpine v3.22 docker 18.09.7-r0 —
Alpine v3.21 docker 18.09.7-r0 —
Alpine v3.20 docker 18.09.7-r0 —
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 docker 18.09.7-r0 —
Alpine v3.18 docker 18.09.7-r0 —
Alpine v3.17 docker 18.09.7-r0 —
Alpine v3.16 docker 18.09.7-r0 —
Alpine v3.15 docker 18.09.7-r0 —
Alpine v3.14 docker 18.09.7-r0 —
Alpine v3.13 docker 18.09.7-r0 —
Alpine v3.12 docker 18.09.7-r0 —
Alpine v3.11 docker 18.09.7 —
Alpine v3.10 docker 18.09.7-r0 —
Alpine v3.9 docker 18.09.7 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 docker-cli +1 18.09.1.ol-1.0.8.el7 ELSA-2019-4827, ELSA-2019-4680
Oracle Linux 7 runc 1.0.0-19.rc5.git4bb1fe4.0.4.el7 ELSA-2019-4680

Advisories 15

References