{"id":"UBUNTU-CVE-2018-15664","details":"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).","modified":"2026-02-04T03:54:53.610256Z","published":"2019-05-23T00:00:00Z","related":["USN-4048-1"],"upstream":["CVE-2018-15664"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-15664"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2019/05/28/1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4048-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-15664"}],"affected":[{"package":{"name":"docker.io","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/docker.io@18.09.7-0ubuntu1~16.04.4?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.09.7-0ubuntu1~16.04.4"}]}],"versions":["1.6.2~dfsg1-1ubuntu4","1.10.2-0ubuntu3","1.10.2-0ubuntu4","1.10.3-0ubuntu1","1.10.3-0ubuntu4","1.10.3-0ubuntu5","1.10.3-0ubuntu6","1.11.2-0ubuntu5~16.04","1.12.1-0ubuntu13~16.04.1","1.12.3-0ubuntu4~16.04.2","1.12.6-0ubuntu1~16.04.1","1.13.1-0ubuntu1~16.04.2","17.03.2-0ubuntu2~16.04.1","18.06.1-0ubuntu1~16.04.2","18.06.1-0ubuntu1.2~16.04.1","18.09.2-0ubuntu1~16.04.1","18.09.5-0ubuntu1~16.04.2","18.09.7-0ubuntu1~16.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"docker.io","binary_version":"18.09.7-0ubuntu1~16.04.4"},{"binary_name":"golang-docker-dev","binary_version":"18.09.7-0ubuntu1~16.04.4"},{"binary_name":"golang-github-docker-docker-dev","binary_version":"18.09.7-0ubuntu1~16.04.4"},{"binary_name":"vim-syntax-docker","binary_version":"18.09.7-0ubuntu1~16.04.4"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-15664.json"}},{"package":{"name":"docker.io","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/docker.io@18.09.7-0ubuntu1~18.04.3?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.09.7-0ubuntu1~18.04.3"}]}],"versions":["1.13.1-0ubuntu6","17.03.2-0ubuntu1","17.03.2-0ubuntu3","17.03.2-0ubuntu5","17.12.1-0ubuntu1","18.06.1-0ubuntu1~18.04.1","18.06.1-0ubuntu1.2~18.04.1","18.09.2-0ubuntu1~18.04.1","18.09.5-0ubuntu1~18.04.2","18.09.7-0ubuntu1~18.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"docker.io","binary_version":"18.09.7-0ubuntu1~18.04.3"},{"binary_name":"golang-docker-dev","binary_version":"18.09.7-0ubuntu1~18.04.3"},{"binary_name":"golang-github-docker-docker-dev","binary_version":"18.09.7-0ubuntu1~18.04.3"},{"binary_name":"vim-syntax-docker","binary_version":"18.09.7-0ubuntu1~18.04.3"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-15664.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}