docker: symlink-exchange race attacks in docker cp
Published May 23, 2019
7.5
HIGHCVSS 3.0
EPSS 3.43%
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).
Affected products
No data.
- 17.06.0-ce
- 17.06.0-ce
- 17.06.0-ce
- 17.06.0-ce
- 17.06.0-ce
- 17.06.0-ce
- 17.06.1-ce
- 17.06.1-ce
- 17.06.1-ce
- 17.06.1-ce
- 17.06.1-ce
- 17.06.2-ce
- 17.06.2-ce
- 17.07.0-ce
- 17.07.0-ce
- 17.07.0-ce
- 17.07.0-ce
- 17.07.0-ce
- 17.09.0-ce
- 17.09.0-ce
- 17.09.0-ce
- 17.09.0-ce
- 17.09.1-ce
- 17.09.1-ce-
- 17.10.0-ce
- 17.10.0-ce
- 17.10.0-ce
- 17.11.0-ce
- 17.11.0-ce
- 17.11.0-ce
- 17.11.0-ce
- 17.11.0-ce
- 17.12.0-ce
- 17.12.0-ce
- 17.12.0-ce
- 17.12.0-ce
- 17.12.0-ce
- 17.12.1-ce
- 17.12.1-ce
- 17.12.1-ce
- 18.01.0-ce
- 18.01.0-ce
- 18.02.0-ce
- 18.02.0-ce
- 18.02.0-ce
- 18.03.0-ce
- 18.03.0-ce
- 18.03.0-ce
- 18.03.0-ce
- 18.03.0-ce
- 18.03.1-ce
- 18.03.1-ce
- 18.03.1-ce
- 18.04.0-ce
- 18.04.0-ce
- 18.04.0-ce
- 18.05.0-ce
- 18.05.0-ce
- 18.06.0-ce
- 18.06.0-ce
- 18.06.0-ce
- 18.06.0-ce
- 18.06.1-ce
- 18.06.1-ce
No data.
Red Hat Enterprise Linux 7 Extras
docker-2:1.13.1-102.git7f2769b.el7
Fixed · RHSA-2019:1910
Red Hat Fuse 7
docker
Not affected
Red Hat OpenShift Container Platform 3.4
docker
Out of support scope
Red Hat OpenShift Container Platform 3.5
docker
Out of support scope
Red Hat OpenShift Container Platform 3.6
docker
Will not fix
Red Hat OpenShift Container Platform 3.7
docker
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 Extras | docker-2:1.13.1-102.git7f2769b.el7 | Fixed | RHSA-2019:1910 |
| Red Hat Fuse 7 | docker | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.4 | docker | Out of support scope | n/a |
| Red Hat OpenShift Container Platform 3.5 | docker | Out of support scope | n/a |
| Red Hat OpenShift Container Platform 3.6 | docker | Will not fix | n/a |
| Red Hat OpenShift Container Platform 3.7 | docker | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
All versions of docker prior to the fix are vulnerable to this flaw. For clarity, in the "Affected Packages State" table, we only include OpenShift Container Platform (OCP) versions 3.7 and below because for these versions docker was shipped as part of the release. For all subsequent versions of OCP until 3.11, docker is installed from the RHEL Extras repository meaning clusters will be vulnerable to the flaw unless an updated docker package has been applied. Red Hat Fuse provides only the Docker client library and is not affected by this vulnerability.
Red Hat mitigation
Stopping a container prior to running "docker cp" removes the TOCTOU vulnerability.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
AV:L/AC:H/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (20 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.43% (0.03427) | 88.53th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.40% (0.03398) | 87.24th | v5 (v2026.06.15) |
| Jan 11, 2026 | 6.31% (0.06313) | 90.66th | v4 (v2025.03.14) |
| Dec 25, 2025 | 7.85% (0.07851) | 91.70th | v4 (v2025.03.14) |
| Dec 5, 2025 | 6.48% (0.06475) | 90.70th | v4 (v2025.03.14) |
| Nov 21, 2025 | 7.70% (0.07697) | 91.54th | v4 (v2025.03.14) |
| Nov 18, 2025 | 2.01% (0.02007) | 82.23th | v4 (v2025.03.14) |
| Nov 3, 2025 | 7.70% (0.07697) | 91.55th | v4 (v2025.03.14) |
| Mar 17, 2025 | 5.63% (0.05635) | 89.66th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.08% (0.00082) | 36.78th | v3 (v2023.03.01) |
| May 16, 2024 | 0.08% (0.00082) | 34.66th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.07% (0.00069) | 28.05th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.28% (0.01282) | 68.34th | v2 (v2022.01.01) |
| Feb 22, 2023 | 1.28% (0.01282) | 68.05th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.28% (0.01282) | 65.91th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.28% (0.01282) | 41.72th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.27% (0.02273) | 50.89th | v1 |
| Jan 6, 2022 | 2.27% (0.02273) | 50.38th | v1 |
| Sep 1, 2021 | 2.27% (0.02273) | 77.89th | v1 |
| Apr 14, 2021 | 2.27% (0.02273) | 0.00th | v1 |
References (16)
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00066.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00001.html vendor-advisoryx_refsource_SUSE
- http://www.openwall.com/lists/oss-security/2019/05/28/1 mailing-listx_refsource_MLISTExploitMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2019/08/21/1 mailing-listx_refsource_MLIST
- http://www.securityfocus.com/bid/108507 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2019:1910 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2018-15664 Vendor Advisory
- https://access.redhat.com/security/cve/cve-2018-15664 Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1714722 Issue Tracking
- https://bugzilla.suse.com/show_bug.cgi?id=1096726 x_refsource_MISCExploitIssue TrackingThird Party Advisory
- https://github.com/moby/moby/pull/39252 x_refsource_MISCIssue TrackingThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-15664
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-15664 x_refsource_CONFIRM
- https://usn.ubuntu.com/4048-1/ vendor-advisoryx_refsource_UBUNTU
- https://www.cve.org/CVERecord?id=CVE-2018-15664
- https://www.openwall.com/lists/oss-security/2019/05/28/1
Change history (0)
No recorded changes yet.