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: 8.4 [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]
CVE-ID: CVE-2018-15664
CWE-ID: CWE-22
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

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).


Affected software

Docker
Amazon Linux AMI
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power
Opensuse
IBM Cloud Automation Manager
docker (Alpine package)

How to mitigate CVE-2018-15664

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

docker (Alpine package) - update to 18.09.7-r0

External References

Related Security Bulletins