{"id":"CVE-2018-15664","state":"PUBLISHED","title":"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 ","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).","publishedAt":"2019-05-23T13:58:37.000Z","updatedAt":"2024-08-05T10:01:54.533Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["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"],"weaknesses":[],"ingestedAt":"2026-10-29T19:44:22.805Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/15xxx/CVE-2018-15664.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-15664","state":"PUBLISHED","datePublished":"2019-05-23T13:58:37.000Z","dateUpdated":"2024-08-05T10:01:54.533Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2018-08-21T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1096726","tags":["x_refsource_MISC"]},{"url":"https://github.com/moby/moby/pull/39252","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2019/05/28/1","name":"[oss-security] 20190528 CVE-2018-15664: docker (all versions) is vulnerable to a symlink-race attack","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.securityfocus.com/bid/108507","name":"108507","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00066.html","name":"openSUSE-SU-2019:1621","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://usn.ubuntu.com/4048-1/","name":"USN-4048-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-15664","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1910","name":"RHSA-2019:1910","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.openwall.com/lists/oss-security/2019/08/21/1","name":"[oss-security] 20190821 RE: CVE-2018-15664: docker (all versions) is vulnerable to a symlink-race attack","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00001.html","name":"openSUSE-SU-2019:2044","tags":["vendor-advisory","x_refsource_SUSE"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2019-09-01T23:06:07.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2019-05-22T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-15664","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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)."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://bugzilla.suse.com/show_bug.cgi?id=1096726","refsource":"MISC","url":"https://bugzilla.suse.com/show_bug.cgi?id=1096726"},{"name":"https://github.com/moby/moby/pull/39252","refsource":"MISC","url":"https://github.com/moby/moby/pull/39252"},{"name":"[oss-security] 20190528 CVE-2018-15664: docker (all versions) is vulnerable to a symlink-race attack","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2019/05/28/1"},{"name":"108507","refsource":"BID","url":"http://www.securityfocus.com/bid/108507"},{"name":"openSUSE-SU-2019:1621","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00066.html"},{"name":"USN-4048-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/4048-1/"},{"name":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-15664","refsource":"CONFIRM","url":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-15664"},{"name":"RHSA-2019:1910","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:1910"},{"name":"[oss-security] 20190821 RE: CVE-2018-15664: docker (all versions) is vulnerable to a symlink-race attack","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2019/08/21/1"},{"name":"openSUSE-SU-2019:2044","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00001.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1096726","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/moby/moby/pull/39252","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2019/05/28/1","name":"[oss-security] 20190528 CVE-2018-15664: docker (all versions) is vulnerable to a symlink-race attack","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.securityfocus.com/bid/108507","name":"108507","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00066.html","name":"openSUSE-SU-2019:1621","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://usn.ubuntu.com/4048-1/","name":"USN-4048-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-15664","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1910","name":"RHSA-2019:1910","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2019/08/21/1","name":"[oss-security] 20190821 RE: CVE-2018-15664: docker (all versions) is vulnerable to a symlink-race attack","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00001.html","name":"openSUSE-SU-2019:2044","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T10:01:54.533Z"}}]}}}