Race Condition Affecting docker package, versions <18.09.7-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.08% (37th 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 Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALPINE320-DOCKER-7009031
  • published23 May 2024
  • disclosed23 May 2019

Introduced: 23 May 2019

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

How to fix?

Upgrade Alpine:3.20 docker to version 18.09.7-r0 or higher.

NVD Description

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