{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-15664 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2018-15664 is a high-severity path traversal vulnerability in n/a, published on 23 May 2019. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2018-15664 and fix it if it is affected.\n\nWhat it is: CVE-2018-15664 is a high-severity path traversal vulnerability in n/a, published on 23 May 2019. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2018-15664 in the wild and no public exploit code.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-15664/ (Markdown: https://insights.sbomify.com/CVE-2018-15664/index.md)","id":"CVE-2018-15664","markdown":"https://insights.sbomify.com/CVE-2018-15664/index.md","name":"CVE-2018-15664","record":{"aliases":["CLEANSTART-2026-FG82255","DEBIAN-CVE-2018-15664","GHSA-pv79-5r2c-jrpq","RHSA-2019:1910","SUSE-SU-2019:1514-1","SUSE-SU-2019:1562-1","UBUNTU-CVE-2018-15664","openSUSE-SU-2019:1621-1"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Docker container runtime","requires_auth":"low_privilege","summary":"Attackers can exploit symlink exchange in docker cp to achieve arbitrary read-write access to the host filesystem with root privileges.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"docker","vendor":"docker"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"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).","ecosystems":["Red Hat:rhel_extras_other:7","SUSE:Linux Enterprise Module for Containers 12","SUSE:Linux Enterprise Module for Containers 15","SUSE:Linux Enterprise Module for Containers 15 SP1","openSUSE:Leap 15.0","openSUSE:Leap 15.1"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Path traversal in n/a","id":"CVE-2018-15664","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2018"},"n_packages":14,"n_references":10,"next":{"headline":"Information disclosure in n/a","id":"CVE-2018-15665"},"packages":[{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["2:1.13.1-102.git7f2769b.el7"],"introduced":["0"],"last_affected":[],"package":"docker","purl":"pkg:rpm/redhat/docker","source":"RHSA-2019:1910"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["2:1.13.1-102.git7f2769b.el7"],"introduced":["0"],"last_affected":[],"package":"docker-client","purl":"pkg:rpm/redhat/docker-client","source":"RHSA-2019:1910"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["2:1.13.1-102.git7f2769b.el7"],"introduced":["0"],"last_affected":[],"package":"docker-common","purl":"pkg:rpm/redhat/docker-common","source":"RHSA-2019:1910"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["2:1.13.1-102.git7f2769b.el7"],"introduced":["0"],"last_affected":[],"package":"docker-debuginfo","purl":"pkg:rpm/redhat/docker-debuginfo","source":"RHSA-2019:1910"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["2:1.13.1-102.git7f2769b.el7"],"introduced":["0"],"last_affected":[],"package":"docker-logrotate","purl":"pkg:rpm/redhat/docker-logrotate","source":"RHSA-2019:1910"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["2:1.13.1-102.git7f2769b.el7"],"introduced":["0"],"last_affected":[],"package":"docker-lvm-plugin","purl":"pkg:rpm/redhat/docker-lvm-plugin","source":"RHSA-2019:1910"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["2:1.13.1-102.git7f2769b.el7"],"introduced":["0"],"last_affected":[],"package":"docker-novolume-plugin","purl":"pkg:rpm/redhat/docker-novolume-plugin","source":"RHSA-2019:1910"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["2:1.13.1-102.git7f2769b.el7"],"introduced":["0"],"last_affected":[],"package":"docker-rhel-push-plugin","purl":"pkg:rpm/redhat/docker-rhel-push-plugin","source":"RHSA-2019:1910"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["2:1.13.1-102.git7f2769b.el7"],"introduced":["0"],"last_affected":[],"package":"docker-v1.10-migrator","purl":"pkg:rpm/redhat/docker-v1.10-migrator","source":"RHSA-2019:1910"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 12","fixed":["18.09.6_ce-98.40.1"],"introduced":["0"],"last_affected":[],"package":"docker","purl":"pkg:rpm/suse/docker\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2012","source":"SUSE-SU-2019:1514-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 15","fixed":["18.09.6_ce-6.20.3"],"introduced":["0"],"last_affected":[],"package":"docker","purl":"pkg:rpm/suse/docker\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015","source":"SUSE-SU-2019:1562-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 15 SP1","fixed":["18.09.6_ce-6.20.3"],"introduced":["0"],"last_affected":[],"package":"docker","purl":"pkg:rpm/suse/docker\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP1","source":"SUSE-SU-2019:1562-1"},{"ecosystem":"openSUSE:Leap 15.0","fixed":["18.09.6_ce-lp151.2.6.1"],"introduced":["0"],"last_affected":[],"package":"docker","purl":"pkg:rpm/opensuse/docker\u0026distro=openSUSE%20Leap%2015.0","source":"openSUSE-SU-2019:1621-1"},{"ecosystem":"openSUSE:Leap 15.1","fixed":["18.09.6_ce-lp151.2.6.1"],"introduced":["0"],"last_affected":[],"package":"docker","purl":"pkg:rpm/opensuse/docker\u0026distro=openSUSE%20Leap%2015.1","source":"openSUSE-SU-2019:1621-1"}],"prev":{"headline":"Auth bypass in n/a","id":"CVE-2018-15661"},"products":["n/a"],"published":"2019-05-23","related":[{"cvss_score":10,"headline":"Arbitrary Code Execution","id":"CVE-2014-9357","kev_date_added":null,"published":"2014-12-16"},{"cvss_score":8.8,"headline":"Privilege escalation in Docker","id":"CVE-2020-14298","kev_date_added":null,"published":"2020-07-13"},{"cvss_score":8.8,"headline":"Privilege escalation in Docker","id":"CVE-2020-14300","kev_date_added":null,"published":"2020-07-13"},{"cvss_score":8.8,"headline":"Deserialization in n/a","id":"CVE-2018-15514","kev_date_added":null,"published":"2018-09-01"},{"cvss_score":8.6,"headline":"Path Traversal in Docker","id":"CVE-2014-9356","kev_date_added":null,"published":"2019-12-02"},{"cvss_score":8.4,"headline":"Command injection in n/a","id":"CVE-2019-13139","kev_date_added":null,"published":"2019-08-22"},{"cvss_score":8.1,"headline":"Other in n/a","id":"CVE-2014-5282","kev_date_added":null,"published":"2018-02-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Attackers can exploit symlink exchange in docker cp to achieve arbitrary read-write access to the host filesystem with root privileges.","url":"https://insights.sbomify.com/CVE-2018-15664/"}