PT-2019-2753 · Docker+2 · Docker+2

Aleksa Sarai

·

Published

2019-05-23

·

Updated

2025-10-11

·

CVE-2018-15664

CVSS v3.1

7.5

High

VectorAV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Docker versions through 18.06.1-ce-rc2
Description The issue is related to a symlink-exchange attack with Directory Traversal in the API endpoints behind the 'docker cp' command, allowing attackers to gain arbitrary read-write access to the host filesystem with root privileges. This is due to the daemon/archive.go not performing archive operations on a frozen filesystem or from within a chroot. The vulnerability can be exploited to elevate privileges and gain read-write access to files. It affects all versions of Docker and remains unpatched, with a proposed patch pending acceptance to implement pausing container operations during filesystem operations.
Recommendations For Docker versions through 18.06.1-ce-rc2, consider disabling the daemon/archive.go component or restricting its use until a patch is available. As a temporary workaround, avoid using the docker cp command to prevent potential exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Race Condition

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2019-02690
CVE-2018-15664
OPENSUSE-SU-2019:1621-1
OPENSUSE-SU-2019:2044-1
OPENSUSE-SU-2019_1621-1
OPENSUSE-SU-2019_2044-1
OPENSUSE-SU-2024:10722-1
OPENSUSE-SU-2024:10931-1
OPENSUSE-SU-2025:15589-1
RHSA-2019:1910
SUSE-SU-2019:1514-1
SUSE-SU-2019:1562-1
SUSE-SU-2019:2223-1
SUSE-SU-2019_1514-1
SUSE-SU-2019_1562-1
SUSE-SU-2019_2223-1
SUSE-SU-2025:03540-1
SUSE-SU-2025:03545-1
USN-4048-1

Affected Products

Docker
Suse
Ubuntu