{"answers":{"affected":"7 open source packages ship an affected version, including k8s.io/kubernetes. It affects 2 products.","exploited":"There is no known exploitation of CVE-2019-1002101 in the wild and no public exploit code.","fix":"Upgrade k8s.io/kubernetes to a fixed version for your release line: 1.11.9, 1.12.7 or 1.13.5.","what":"CVE-2019-1002101 is a medium-severity path traversal vulnerability in Kubernetes Kubernetes, published on 1 Apr 2019. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2019-1002101 and fix it if it is affected.\n\nWhat it is: CVE-2019-1002101 is a medium-severity path traversal vulnerability in Kubernetes Kubernetes, published on 1 Apr 2019. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2019-1002101 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- k8s.io/kubernetes (Go): affected all versions; fixed in 1.11.9, 1.12.7, 1.13.5\n- k8s.io/kubernetes (Go): affected all versions; fixed in 1.11.9\n- k8s.io/kubernetes (Go): affected all versions; fixed in 1.11.9\n- k8s.io/kubernetes (Go): affected from 1.12.0; fixed in 1.12.7\n- k8s.io/kubernetes (Go): affected from 1.12.0; fixed in 1.12.7\n- k8s.io/kubernetes (Go): affected from 1.13.0; fixed in 1.13.5\n- k8s.io/kubernetes (Go): affected from 1.13.0; fixed in 1.13.5\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-2019-1002101/ (Markdown: https://insights.sbomify.com/CVE-2019-1002101/index.md)","id":"CVE-2019-1002101","markdown":"https://insights.sbomify.com/CVE-2019-1002101/index.md","name":"CVE-2019-1002101","record":{"aliases":["GHSA-34jx-wx69-9x8v","GO-2022-0782","RHBA-2019:0619","RHBA-2019:0620","RHBA-2019:0636"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes CLI","requires_auth":"high_privilege","summary":"A malicious tar binary in a container can exploit kubectl cp to write files to arbitrary paths on the user's machine, potentially executing code.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"dwf","cpe":[{"product":"kubernetes","vendor":"kubernetes"},{"product":"openshift_container_platform","vendor":"redhat"}],"cvss":{"score":6.4,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"description":"The kubectl cp command allows copying files between containers and the user machine. To copy files from a container, Kubernetes creates a tar inside the container, copies it over the network, and kubectl unpacks it on the user’s machine. If the tar binary in the container is malicious, it could run any code and output unexpected, malicious results. An attacker could use this to write files to any path on the user’s machine when kubectl cp is called, limited only by the system permissions of the local user. The untar function can both create and follow symbolic links. The issue is resolved in kubectl v1.11.9, v1.12.7, v1.13.5, and v1.14.0.","ecosystems":["Go","Red Hat:openshift:3.10::el7","Red Hat:openshift:3.11::el7","Red Hat:openshift:3.9::el7"],"exploits":{"exploitdb":0,"first_seen":"2019-04-03","github_poc":1,"max_poc_stars":6,"metasploit":0,"nuclei":0,"refs":[{"date":"2019-04-03T16:36:58Z","kind":"github_poc","ref":"https://github.com/brompwnie/CVE-2019-1002101-Helpers","stars":6,"title":"PoC helper scripts and Dockerfile for CVE-2019-1002101"}],"tier":"poc_unverified"},"has_fix":true,"headline":"kubectl cp path traversal","id":"CVE-2019-1002101","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"kubernetes:kubernetes","products":["kubernetes:kubernetes","redhat:openshift_container_platform"],"type":"path_traversal","year":"2019"},"n_packages":106,"n_references":10,"next":{"headline":"Protection Mechanism Failure in Jenkins Script Security Plugin","id":"CVE-2019-1003000"},"packages":[{"ecosystem":"Go","fixed":["1.11.9","1.12.7","1.13.5"],"introduced":["0","1.12.0","1.13.0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","source":"GO-2022-0782"},{"ecosystem":"Go","fixed":["1.11.9"],"introduced":["0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":null,"source":"GHSA-34jx-wx69-9x8v"},{"ecosystem":"Go","fixed":["1.11.9"],"introduced":["0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","source":"GHSA-34jx-wx69-9x8v"},{"ecosystem":"Go","fixed":["1.12.7"],"introduced":["1.12.0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":null,"source":"GHSA-34jx-wx69-9x8v"},{"ecosystem":"Go","fixed":["1.12.7"],"introduced":["1.12.0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","source":"GHSA-34jx-wx69-9x8v"},{"ecosystem":"Go","fixed":["1.13.5"],"introduced":["1.13.0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":null,"source":"GHSA-34jx-wx69-9x8v"},{"ecosystem":"Go","fixed":["1.13.5"],"introduced":["1.13.0"],"last_affected":[],"package":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","source":"GHSA-34jx-wx69-9x8v"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["1:3.10.127-1.git.55.b54f8c7.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-enterprise-service-catalog","purl":"pkg:rpm/redhat/atomic-enterprise-service-catalog","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["1:3.10.127-1.git.55.b54f8c7.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-enterprise-service-catalog-svcat","purl":"pkg:rpm/redhat/atomic-enterprise-service-catalog-svcat","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.127-1.git.0.dab74c6.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift","purl":"pkg:rpm/redhat/atomic-openshift","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.127-1.git.0.dab74c6.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-clients","purl":"pkg:rpm/redhat/atomic-openshift-clients","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.127-1.git.0.dab74c6.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-clients-redistributable","purl":"pkg:rpm/redhat/atomic-openshift-clients-redistributable","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.127-1.git.153.bc1eddd.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-descheduler","purl":"pkg:rpm/redhat/atomic-openshift-descheduler","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.127-1.git.0.dab74c6.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-docker-excluder","purl":"pkg:rpm/redhat/atomic-openshift-docker-excluder","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.127-1.git.0.f8aa6dd.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-dockerregistry","purl":"pkg:rpm/redhat/atomic-openshift-dockerregistry","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.127-1.git.0.dab74c6.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-excluder","purl":"pkg:rpm/redhat/atomic-openshift-excluder","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.127-1.git.0.dab74c6.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-hyperkube","purl":"pkg:rpm/redhat/atomic-openshift-hyperkube","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.127-1.git.0.dab74c6.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-hypershift","purl":"pkg:rpm/redhat/atomic-openshift-hypershift","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.127-1.git.0.dab74c6.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-master","purl":"pkg:rpm/redhat/atomic-openshift-master","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.127-1.git.0.dab74c6.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-node","purl":"pkg:rpm/redhat/atomic-openshift-node","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.127-1.git.0.4f5519b.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-node-problem-detector","purl":"pkg:rpm/redhat/atomic-openshift-node-problem-detector","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.127-1.git.0.dab74c6.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-pod","purl":"pkg:rpm/redhat/atomic-openshift-pod","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.127-1.git.0.dab74c6.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-sdn-ovs","purl":"pkg:rpm/redhat/atomic-openshift-sdn-ovs","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.127-1.git.0.dab74c6.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-template-service-broker","purl":"pkg:rpm/redhat/atomic-openshift-template-service-broker","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.127-1.git.0.dab74c6.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-tests","purl":"pkg:rpm/redhat/atomic-openshift-tests","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.127-1.git.50.eab7949.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-web-console","purl":"pkg:rpm/redhat/atomic-openshift-web-console","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.127-1.git.0.8ebe819.el7"],"introduced":["0"],"last_affected":[],"package":"golang-github-prometheus-node_exporter","purl":"pkg:rpm/redhat/golang-github-prometheus-node_exporter","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.127-1.git.0.131da09.el7"],"introduced":["0"],"last_affected":[],"package":"openshift-ansible","purl":"pkg:rpm/redhat/openshift-ansible","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.127-1.git.0.131da09.el7"],"introduced":["0"],"last_affected":[],"package":"openshift-ansible-docs","purl":"pkg:rpm/redhat/openshift-ansible-docs","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.127-1.git.0.131da09.el7"],"introduced":["0"],"last_affected":[],"package":"openshift-ansible-playbooks","purl":"pkg:rpm/redhat/openshift-ansible-playbooks","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.127-1.git.0.131da09.el7"],"introduced":["0"],"last_affected":[],"package":"openshift-ansible-roles","purl":"pkg:rpm/redhat/openshift-ansible-roles","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.127-1.git.0.44580c6.el7"],"introduced":["0"],"last_affected":[],"package":"openshift-enterprise-cluster-capacity","purl":"pkg:rpm/redhat/openshift-enterprise-cluster-capacity","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.127-1.git.0.8ebe819.el7"],"introduced":["0"],"last_affected":[],"package":"prometheus-node-exporter","purl":"pkg:rpm/redhat/prometheus-node-exporter","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:2.2.1-20180102gitd701bf9.el7"],"introduced":["0"],"last_affected":[],"package":"python-libcloud","purl":"pkg:rpm/redhat/python-libcloud","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:0.0.18-1.el7"],"introduced":["0"],"last_affected":[],"package":"rubygem-fluent-plugin-viaq_data_model","purl":"pkg:rpm/redhat/rubygem-fluent-plugin-viaq_data_model","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:0.0.18-1.el7"],"introduced":["0"],"last_affected":[],"package":"rubygem-fluent-plugin-viaq_data_model-doc","purl":"pkg:rpm/redhat/rubygem-fluent-plugin-viaq_data_model-doc","source":"RHBA-2019:0620"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["1:3.11.98-1.git.0.a7877b0.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-enterprise-service-catalog","purl":"pkg:rpm/redhat/atomic-enterprise-service-catalog","source":"RHBA-2019:0636"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["1:3.11.98-1.git.0.a7877b0.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-enterprise-service-catalog-svcat","purl":"pkg:rpm/redhat/atomic-enterprise-service-catalog-svcat","source":"RHBA-2019:0636"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.98-1.git.0.0cbaff3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift","purl":"pkg:rpm/redhat/atomic-openshift","source":"RHBA-2019:0636"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.98-1.git.0.0cbaff3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-clients","purl":"pkg:rpm/redhat/atomic-openshift-clients","source":"RHBA-2019:0636"}],"prev":{"headline":"Kubernetes DoS Vulnerability","id":"CVE-2019-1002100"},"products":["Kubernetes"],"published":"2019-04-01","related":[{"cvss_score":9.8,"headline":"Privilege Escalation in Kubernetes","id":"CVE-2018-1002105","kev_date_added":null,"published":"2018-12-05"},{"cvss_score":9.8,"headline":"Kubernetes Privilege Escalation","id":"CVE-2017-1000056","kev_date_added":null,"published":"2017-07-13"},{"cvss_score":9.8,"headline":"Authorization bypass in Openshift","id":"CVE-2016-1906","kev_date_added":null,"published":"2016-02-03"},{"cvss_score":8.8,"headline":"Kubernetes - Windows nodes - Insufficient input sanitization leads to privilege escalation","id":"CVE-2023-3676","kev_date_added":null,"published":"2023-10-31"},{"cvss_score":8.8,"headline":"Kubernetes - Windows nodes - Insufficient input sanitization leads to privilege escalation","id":"CVE-2023-3955","kev_date_added":null,"published":"2023-10-31"},{"cvss_score":8.8,"headline":"Symlink Exchange Can Allow Host Filesystem Access","id":"CVE-2021-25741","kev_date_added":null,"published":"2021-09-20"},{"cvss_score":8.8,"headline":"Path traversal in Kubernetes","id":"CVE-2017-1002101","kev_date_added":null,"published":"2018-03-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHBA"},{"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["Kubernetes"]},"summary":"A malicious tar binary in a container can exploit kubectl cp to write files to arbitrary paths on the user's machine, potentially executing code.","url":"https://insights.sbomify.com/CVE-2019-1002101/"}