Skip to main content
No exploitation reportedFix available

CVE-2018-15664

No exploitation reported by the sources we read.

  • Published2019-05-23
  • WeaknessCWE-362

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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

Timeline

dates in UTC
  1. 2019-05-2314:29CVE publishedNVD

Versions per branch

NVD
Docker
BranchAffectedFixed in
17.12= 17.12.1-ceno fix published
17.6= 17.06.0-ceno fix published
17.6= 17.06.1-ceno fix published
17.6= 17.06.2-ceno fix published
17.7= 17.07.0-ceno fix published
17.9= 17.09.0-ceno fix published
17.9= 17.09.1-ceno fix published
17.9= 17.09.1-ce-no fix published
17.10= 17.10.0-ceno fix published
17.11= 17.11.0-ceno fix published
17.12= 17.12.0-ceno fix published
18.1= 18.01.0-ceno fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • dockerSUSE:Linux Enterprise Module for Containers 15 SP1all versions · fixed in 18.09.6_ce-6.20.3
  • dockerSUSE:Linux Enterprise Module for Containers 15all versions · fixed in 18.09.6_ce-6.20.3
  • dockerSUSE:Linux Enterprise Module for Containers 12all versions · fixed in 18.09.6_ce-98.40.1
  • dockerRed Hat:rhel_extras_other:7all versions · fixed in 2:1.13.1-102.git7f2769b.el7and 8 other packages
  • dockeropenSUSE:Tumbleweedall versions · fixed in 20.10.6_ce-2.1
  • dockeropenSUSE:Leap 15.1all versions · fixed in 18.09.6_ce-lp151.2.6.1
  • dockeropenSUSE:Leap 15.0all versions · fixed in 18.09.6_ce-lp151.2.6.1
  • dockerCleanStartall versions · fixed in 18.09.7-r0and 1 other package

51 more package ranges on OSV.dev

Vendor advisories

  • CVE-2018-15664 Red Hat Product Security37 products fixed · 40 known affected

    docker: symlink-exchange race attacks in docker cp

    docker as a component of Red Hat OpenShift Container Platform 3.4 · docker-client as a component of Red Hat OpenShift Container Platform 3.4 · docker-common as a component of Red Hat OpenShift Container Platform 3.4 · +37 more

  • RHSA-2019:1910 Red Hat Product Security37 products fixed

    Red Hat Security Advisory: docker security and bug fix update

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2019:1910 · 37 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  2. Workaround from the vendor Red Hat Product Security RHSA-2019:1910 · 37 productsStopping a container prior to running "docker cp" removes the TOCTOU vulnerability.
  3. No fix planned, says the vendor Red Hat Product Security CVE-2018-15664 · 20 productsOut of support scope
  4. No fix planned, says the vendor Red Hat Product Security CVE-2018-15664 · 20 productsWill not fix

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
Published
2019-05-23
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-pv79-5r2c-jrpq

Frequently asked questions

What is CVE-2018-15664?

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

Is CVE-2018-15664 actively exploited?

Active exploitation of CVE-2018-15664 has not been confirmed. Its EPSS score was 3.4% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2018-15664?

CVE-2018-15664 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H.

Running docker? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record