CVE-2018-15664
Vulnerability Summary
Timeline
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).
CVSS Metrics
- v3.0•HIGH•Score: 7.5CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 6.2AV:L/AC:H/Au:N/C:C/I:C/A:C
EPSS Trends
Current EPSS score: 3.43%• Percentile: 88%
Techniques & Countermeasures
- CWE-362•Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
Affected Systems
- debian•docker.io
< 18.09.1+dfsg1-7.1 | < 18.09.1+dfsg1-7.1 | < 18.09.1+dfsg1-7.1 | < 18.09.1+dfsg1-7.1
- docker•docker
17.06.0-ce | 17.06.0-ce:rc1 | 17.06.0-ce:rc2 | 17.06.0-ce:rc3 | 17.06.0-ce:rc4 | 17.06.0-ce:rc5 | 17.06.1-ce | 17.06.1-ce:rc1 | 17.06.1-ce:rc2 | 17.06.1-ce:rc3 | 17.06.1-ce:rc4 | 17.06.2-ce | 17.06.2-ce:rc1 | 17.07.0-ce | 17.07.0-ce:rc1 | 17.07.0-ce:rc2 | 17.07.0-ce:rc3 | 17.07.0-ce:rc4 | 17.09.0-ce | 17.09.0-ce:rc1 | 17.09.0-ce:rc2 | 17.09.0-ce:rc3 | 17.09.1-ce | 17.09.1-ce-:rc1 | 17.10.0-ce | 17.10.0-ce:rc1 | 17.10.0-ce:rc2 | 17.11.0-ce | 17.11.0-ce:rc1 | 17.11.0-ce:rc2 | 17.11.0-ce:rc3 | 17.11.0-ce:rc4 | 17.12.0-ce | 17.12.0-ce:rc1 | 17.12.0-ce:rc2 | 17.12.0-ce:rc3 | 17.12.0-ce:rc4 | 17.12.1-ce | 17.12.1-ce:rc1 | 17.12.1-ce:rc2 | 18.01.0-ce | 18.01.0-ce:rc1 | 18.02.0-ce | 18.02.0-ce:rc1 | 18.02.0-ce:rc2 | 18.03.0-ce | 18.03.0-ce:rc1 | 18.03.0-ce:rc2 | 18.03.0-ce:rc3 | 18.03.0-ce:rc4 | 18.03.1-ce | 18.03.1-ce:rc1 | 18.03.1-ce:rc2 | 18.04.0-ce | 18.04.0-ce:rc1 | 18.04.0-ce:rc2 | 18.05.0-ce | 18.05.0-ce:rc1 | 18.06.0-ce | 18.06.0-ce:rc1 | 18.06.0-ce:rc2 | 18.06.0-ce:rc3 | 18.06.1-ce:rc1 | 18.06.1-ce:rc2
- redhat•docker
< 2:1.13.1-102.git7f2769b.el7
- redhat•docker-client
< 2:1.13.1-102.git7f2769b.el7
- redhat•docker-common
< 2:1.13.1-102.git7f2769b.el7
- redhat•docker-debuginfo
< 2:1.13.1-102.git7f2769b.el7
- redhat•docker-logrotate
< 2:1.13.1-102.git7f2769b.el7
- redhat•docker-lvm-plugin
< 2:1.13.1-102.git7f2769b.el7
- redhat•docker-novolume-plugin
< 2:1.13.1-102.git7f2769b.el7
- redhat•docker-rhel-push-plugin
< 2:1.13.1-102.git7f2769b.el7
- redhat•docker-v1.10-migrator
< 2:1.13.1-102.git7f2769b.el7
References (20)
- https://bugzilla.suse.com/show_bug.cgi?id=1096726
- https://github.com/moby/moby/pull/39252
- http://www.openwall.com/lists/oss-security/2019/05/28/1
- http://www.securityfocus.com/bid/108507
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00066.html
- https://usn.ubuntu.com/4048-1/
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-15664
- https://access.redhat.com/errata/RHSA-2019:1910
- http://www.openwall.com/lists/oss-security/2019/08/21/1
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00001.html
- https://access.redhat.com/security/cve/cve-2018-15664
- https://access.redhat.com/security/updates/classification/#moderate
- https://bugzilla.redhat.com/show_bug.cgi?id=1714722
- https://bugzilla.redhat.com/show_bug.cgi?id=1723491
- https://security.access.redhat.com/data/csaf/v2/advisories/2019/rhsa-2019_1910.json
- https://access.redhat.com/security/cve/CVE-2018-15664
- https://www.cve.org/CVERecord?id=CVE-2018-15664
- https://nvd.nist.gov/vuln/detail/CVE-2018-15664
- https://www.openwall.com/lists/oss-security/2019/05/28/1
- https://security-tracker.debian.org/tracker/CVE-2018-15664