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