CVEfocus › CVE database › CVE-2018-15664

CVE-2018-15664

CVSS 7.5 HighEPSS 3.4% (higher than 89% of CVEs)Published 2019-05-23Updated 2024-08-05Assigner: mitre

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

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

21Fixed
1Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04docker.ioFixed18.09.7-0ubuntu1~18.04.3UBUNTU-CVE-2018-15664
Ubuntu 16.04docker.ioFixed18.09.7-0ubuntu1~16.04.4UBUNTU-CVE-2018-15664
Ubuntu 14.04docker.ioFix pending
Debian 14docker.ioFixed18.09.1+dfsg1-7.1DEBIAN-CVE-2018-15664
Debian 13docker.ioFixed18.09.1+dfsg1-7.1DEBIAN-CVE-2018-15664
Debian 12docker.ioFixed18.09.1+dfsg1-7.1DEBIAN-CVE-2018-15664
Alpine Linux 3.24dockerFixed18.09.7-r0ALPINE-CVE-2018-15664
Alpine Linux 3.23dockerFixed18.09.7-r0ALPINE-CVE-2018-15664
Alpine Linux 3.22dockerFixed18.09.7-r0ALPINE-CVE-2018-15664
Alpine Linux 3.21dockerFixed18.09.7-r0ALPINE-CVE-2018-15664
Alpine Linux 3.20dockerFixed18.09.7-r0ALPINE-CVE-2018-15664
Alpine Linux 3.19dockerFixed18.09.7-r0ALPINE-CVE-2018-15664
Alpine Linux 3.18dockerFixed18.09.7-r0ALPINE-CVE-2018-15664
Alpine Linux 3.17dockerFixed18.09.7-r0ALPINE-CVE-2018-15664
Alpine Linux 3.16dockerFixed18.09.7-r0ALPINE-CVE-2018-15664
Alpine Linux 3.15dockerFixed18.09.7-r0ALPINE-CVE-2018-15664
Alpine Linux 3.14dockerFixed18.09.7-r0ALPINE-CVE-2018-15664
Alpine Linux 3.13dockerFixed18.09.7-r0ALPINE-CVE-2018-15664
Alpine Linux 3.12dockerFixed18.09.7-r0ALPINE-CVE-2018-15664
Alpine Linux 3.11dockerFixed18.09.7ALPINE-CVE-2018-15664
Alpine Linux 3.10dockerFixed18.09.7-r0ALPINE-CVE-2018-15664
Alpine Linux 3.9dockerFixed18.09.7ALPINE-CVE-2018-15664

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.