CVE-2018-15664
docker: symlink-exchange race attacks in docker cp
Overview
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).
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
Weakness: CWE-362
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 28 fixes
Oracle Linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | runc | 1.0.0-19.rc5.git4bb1fe4.0.4.el7 |
| 7 | docker-cli +1 | 19.03.1.ol-1.0.0.el7 |
Photon OS 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | telegraf | 1.27.1-1.ph5 |
| 5.0 | kapacitor | 1.6.6-1.ph5 |
Red Hat 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | docker +8 | eol | — |
| 7 | docker +8 | wont fix | — |
| 7 | docker +7 | 2:1.13.1-102.git7f2769b.el7 | RHSA-2019:1910 |
SUSE Linux Enterprise 5 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | docker-stable +1 | 24.0.9_ce-1.20.1 | SUSE-SU-2025:03540-1 |
| 15.4 | docker-stable +1 | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| 15.5 | docker-stable +1 | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| 15.6 | docker-stable +2 | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| 15.7 | docker-stable +2 | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | docker | 18.09.7-r0 |
| 3.23 | docker | 18.09.7-r0 |
| 3.24 | docker | 18.09.7-r0 |
| edge | docker | 18.09.7-r0 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | docker-io | 18.09.1+dfsg1-7.1 |
| 12 | docker-io | 18.09.1+dfsg1-7.1 |
| 13 | docker-io | 18.09.1+dfsg1-7.1 |
| 14 | docker-io | 18.09.1+dfsg1-7.1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| docker-io | 18.09.1+dfsg1-7.1 |
openSUSE 1 release · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | docker-stable-buildx | 0.25.0-15.1 | openSUSE-SU-2025:15589-1 |
| Tumbleweed | docker +3 | 20.10.6_ce-2.1 | openSUSE-SU-2024:10722-1 |
| Tumbleweed | libcontainers-common | 20210626-5.1 | openSUSE-SU-2024:10931-1 |
| Tumbleweed | docker-stable +4 | 24.0.9_ce-15.1 | openSUSE-SU-2025:15589-1 |
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-docker-io | 18.09.1+dfsg1-7.1 |
ubuntu 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | docker-io | 18.09.7-0ubuntu1~18.04.3 |
| 18.04-ESM | docker-io | 18.09.7-0ubuntu1~18.04.3 |
References
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00066.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00001.html
- www.openwall.com http://www.openwall.com/lists/oss-security/2019/05/28/1
- www.openwall.com http://www.openwall.com/lists/oss-security/2019/08/21/1
- www.securityfocus.com http://www.securityfocus.com/bid/108507
- access.redhat.com https://access.redhat.com/errata/RHSA-2019:1910
- access.redhat.com https://access.redhat.com/security/cve/CVE-2018-15664
- access.redhat.com https://access.redhat.com/security/cve/cve-2018-15664
- bugzilla.suse.com https://bugzilla.suse.com/show_bug.cgi?id=1096726
- github.com https://github.com/moby/moby/pull/39252
Show all 18 references
- linux.oracle.com https://linux.oracle.com/cve/CVE-2018-15664.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2019-4827.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2018-15664
- portal.msrc.microsoft.com https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-15664
- ubuntu.com https://ubuntu.com/security/notices/USN-4048-1
- usn.ubuntu.com https://usn.ubuntu.com/4048-1/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2018-15664
- www.openwall.com https://www.openwall.com/lists/oss-security/2019/05/28/1
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.