Race Condition Affecting docker-bash-completion package, versions <18.09.6_ce-6.20.3


Severity

Recommended
medium

Based on SUSE Linux Enterprise Server 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-SLES151-DOCKERBASHCOMPLETION-2746652
  • published14 Apr 2022
  • disclosed19 Jun 2019

Introduced: 19 Jun 2019

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

How to fix?

Upgrade SLES:15.1 docker-bash-completion to version 18.09.6_ce-6.20.3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream docker-bash-completion package and not the docker-bash-completion package as distributed by SLES. See How to fix? for SLES:15.1 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).