Time-of-check Time-of-use (TOCTOU) Affecting docker-client package, versions <2:1.13.1-102.git7f2769b.el7


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
3.4% (88th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-DOCKERCLIENT-5019694
  • published27 Mar 2023
  • disclosed23 May 2019

Introduced: 23 May 2019

CVE-2018-15664  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade RHEL:7 docker-client to version 2:1.13.1-102.git7f2769b.el7 or higher.
This issue was patched in RHSA-2019:1910.

NVD Description

Note: Versions mentioned in the description apply only to the upstream docker-client package and not the docker-client package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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