Vulnerability in Docker
CVE-2018-15664
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).
Vulnerability class: Race Condition
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.034, 89.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Docker — versions 17.06.0-ce, 17.06.1-ce, 17.06.2-ce
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 13 other repositories (adavarski/HomeLab-k8s-DevSecOps-playground, adavarski/HomeLab-Proxmox-k8s-DevSecOps-playground, anan123jhbjb/project01, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugzilla.suse.com/show_bug.cgi (Exploit, Third Party Advisory, Issue Tracking)
- github.com/moby/moby/pull/39252 (Third Party Advisory, Issue Tracking)
- [oss-security] 20190528 CVE-2018-15664: docker (all versions) is vulnerable to a symlink-race attack (mailing-list, Exploit, Mailing List, Third Party Advisory)
- www.securityfocus.com/bid/108507 (Third Party Advisory, VDB Entry, vdb-entry)
- openSUSE-SU-2019:1621 (vendor-advisory)
- USN-4048-1 (vendor-advisory)
- portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-15664
- RHSA-2019:1910 (vendor-advisory)
- [oss-security] 20190821 RE: CVE-2018-15664: docker (all versions) is vulnerable to a symlink-race attack (mailing-list)
- openSUSE-SU-2019:2044 (vendor-advisory)