Path traversal in Docker - CVE-2018-15664

 

Path traversal in Docker - CVE-2018-15664

Published: September 2, 2019


Vulnerability identifier: #VU20501
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2018-15664
CWE-ID: CWE-22
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Docker Inc.
Affected software:
Docker

Detailed vulnerability description

The vulnerability allows a local attacker to perform directory traversal attacks.

The vulnerability exists due to the API endpoints behind the 'docker cp' command are vulnerable to a symlink-exchange attack. A local authenticated attacker can gain 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).


How to mitigate CVE-2018-15664

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Sources