{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2019-11246 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2019-11246 is a medium-severity path traversal vulnerability in Kubernetes Kubernetes, published on 29 Aug 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-11246 and fix it if it is affected.\n\nWhat it is: CVE-2019-11246 is a medium-severity path traversal vulnerability in Kubernetes Kubernetes, published on 29 Aug 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-11246 in the wild and no public exploit code.\n\nAffected product: Kubernetes Kubernetes. 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-2019-11246/ (Markdown: https://insights.sbomify.com/CVE-2019-11246/index.md)","id":"CVE-2019-11246","markdown":"https://insights.sbomify.com/CVE-2019-11246/index.md","name":"CVE-2019-11246","record":{"aliases":["GHSA-8wj5-gvvw-f5fh","RHSA-2019:1632","RHSA-2019:1633","RHSA-2019:1852"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["data_modify","code_execution"],"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 local machine, potentially executing code.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"kubernetes","cpe":[{"product":"kubernetes","vendor":"kubernetes"}],"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-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following"}],"description":"The kubectl cp command allows copying files between containers and the user machine. To copy files from a container, Kubernetes runs tar inside the container to create a tar archive, 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. Kubernetes affected versions include versions prior to 1.12.9, versions prior to 1.13.6, versions prior to 1.14.2, and versions 1.1, 1.2, 1.4, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 1.10, 1.11.","ecosystems":["Red Hat:openshift:3.10::el7","Red Hat:openshift:3.11::el7","Red Hat:openshift:3.9::el7"],"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":"kubectl cp allows symlink directory traversal","id":"CVE-2019-11246","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"kubernetes:kubernetes","products":["kubernetes:kubernetes"],"type":"path_traversal","year":"2019"},"n_packages":40,"n_references":3,"next":{"headline":"Kubernetes kube-apiserver allows access to custom resources via wrong scope","id":"CVE-2019-11247"},"packages":[{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.149-1.git.0.05de590.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift","purl":"pkg:rpm/redhat/atomic-openshift","source":"RHSA-2019:1632"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.149-1.git.0.05de590.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-clients","purl":"pkg:rpm/redhat/atomic-openshift-clients","source":"RHSA-2019:1632"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.149-1.git.0.05de590.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-clients-redistributable","purl":"pkg:rpm/redhat/atomic-openshift-clients-redistributable","source":"RHSA-2019:1632"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.149-1.git.0.05de590.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-docker-excluder","purl":"pkg:rpm/redhat/atomic-openshift-docker-excluder","source":"RHSA-2019:1632"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.149-1.git.0.05de590.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-excluder","purl":"pkg:rpm/redhat/atomic-openshift-excluder","source":"RHSA-2019:1632"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.149-1.git.0.05de590.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-hyperkube","purl":"pkg:rpm/redhat/atomic-openshift-hyperkube","source":"RHSA-2019:1632"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.149-1.git.0.05de590.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-hypershift","purl":"pkg:rpm/redhat/atomic-openshift-hypershift","source":"RHSA-2019:1632"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.149-1.git.0.05de590.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-master","purl":"pkg:rpm/redhat/atomic-openshift-master","source":"RHSA-2019:1632"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.149-1.git.0.05de590.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-node","purl":"pkg:rpm/redhat/atomic-openshift-node","source":"RHSA-2019:1632"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.149-1.git.0.05de590.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-pod","purl":"pkg:rpm/redhat/atomic-openshift-pod","source":"RHSA-2019:1632"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.149-1.git.0.05de590.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-sdn-ovs","purl":"pkg:rpm/redhat/atomic-openshift-sdn-ovs","source":"RHSA-2019:1632"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.149-1.git.0.05de590.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-template-service-broker","purl":"pkg:rpm/redhat/atomic-openshift-template-service-broker","source":"RHSA-2019:1632"},{"ecosystem":"Red Hat:openshift:3.10::el7","fixed":["0:3.10.149-1.git.0.05de590.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-tests","purl":"pkg:rpm/redhat/atomic-openshift-tests","source":"RHSA-2019:1632"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.117-1.git.0.14e54a3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift","purl":"pkg:rpm/redhat/atomic-openshift","source":"RHSA-2019:1633"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.117-1.git.0.14e54a3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-clients","purl":"pkg:rpm/redhat/atomic-openshift-clients","source":"RHSA-2019:1633"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.117-1.git.0.14e54a3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-clients-redistributable","purl":"pkg:rpm/redhat/atomic-openshift-clients-redistributable","source":"RHSA-2019:1633"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.117-1.git.0.14e54a3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-docker-excluder","purl":"pkg:rpm/redhat/atomic-openshift-docker-excluder","source":"RHSA-2019:1633"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.117-1.git.0.14e54a3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-excluder","purl":"pkg:rpm/redhat/atomic-openshift-excluder","source":"RHSA-2019:1633"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.117-1.git.0.14e54a3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-hyperkube","purl":"pkg:rpm/redhat/atomic-openshift-hyperkube","source":"RHSA-2019:1633"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.117-1.git.0.14e54a3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-hypershift","purl":"pkg:rpm/redhat/atomic-openshift-hypershift","source":"RHSA-2019:1633"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.117-1.git.0.14e54a3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-master","purl":"pkg:rpm/redhat/atomic-openshift-master","source":"RHSA-2019:1633"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.117-1.git.0.14e54a3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-node","purl":"pkg:rpm/redhat/atomic-openshift-node","source":"RHSA-2019:1633"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.117-1.git.0.14e54a3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-pod","purl":"pkg:rpm/redhat/atomic-openshift-pod","source":"RHSA-2019:1633"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.117-1.git.0.14e54a3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-sdn-ovs","purl":"pkg:rpm/redhat/atomic-openshift-sdn-ovs","source":"RHSA-2019:1633"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.117-1.git.0.14e54a3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-template-service-broker","purl":"pkg:rpm/redhat/atomic-openshift-template-service-broker","source":"RHSA-2019:1633"},{"ecosystem":"Red Hat:openshift:3.11::el7","fixed":["0:3.11.117-1.git.0.14e54a3.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-tests","purl":"pkg:rpm/redhat/atomic-openshift-tests","source":"RHSA-2019:1633"},{"ecosystem":"Red Hat:openshift:3.9::el7","fixed":["0:3.9.89-1.git.0.9454f2a.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift","purl":"pkg:rpm/redhat/atomic-openshift","source":"RHSA-2019:1852"},{"ecosystem":"Red Hat:openshift:3.9::el7","fixed":["0:3.9.89-1.git.0.9454f2a.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-clients","purl":"pkg:rpm/redhat/atomic-openshift-clients","source":"RHSA-2019:1852"},{"ecosystem":"Red Hat:openshift:3.9::el7","fixed":["0:3.9.89-1.git.0.9454f2a.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-clients-redistributable","purl":"pkg:rpm/redhat/atomic-openshift-clients-redistributable","source":"RHSA-2019:1852"},{"ecosystem":"Red Hat:openshift:3.9::el7","fixed":["0:3.9.89-1.git.0.9454f2a.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-cluster-capacity","purl":"pkg:rpm/redhat/atomic-openshift-cluster-capacity","source":"RHSA-2019:1852"},{"ecosystem":"Red Hat:openshift:3.9::el7","fixed":["0:3.9.89-1.git.0.9454f2a.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-docker-excluder","purl":"pkg:rpm/redhat/atomic-openshift-docker-excluder","source":"RHSA-2019:1852"},{"ecosystem":"Red Hat:openshift:3.9::el7","fixed":["0:3.9.89-1.git.0.9454f2a.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-excluder","purl":"pkg:rpm/redhat/atomic-openshift-excluder","source":"RHSA-2019:1852"},{"ecosystem":"Red Hat:openshift:3.9::el7","fixed":["0:3.9.89-1.git.0.9454f2a.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-federation-services","purl":"pkg:rpm/redhat/atomic-openshift-federation-services","source":"RHSA-2019:1852"},{"ecosystem":"Red Hat:openshift:3.9::el7","fixed":["0:3.9.89-1.git.0.9454f2a.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-master","purl":"pkg:rpm/redhat/atomic-openshift-master","source":"RHSA-2019:1852"},{"ecosystem":"Red Hat:openshift:3.9::el7","fixed":["0:3.9.89-1.git.0.9454f2a.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-node","purl":"pkg:rpm/redhat/atomic-openshift-node","source":"RHSA-2019:1852"},{"ecosystem":"Red Hat:openshift:3.9::el7","fixed":["0:3.9.89-1.git.0.9454f2a.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-pod","purl":"pkg:rpm/redhat/atomic-openshift-pod","source":"RHSA-2019:1852"},{"ecosystem":"Red Hat:openshift:3.9::el7","fixed":["0:3.9.89-1.git.0.9454f2a.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-sdn-ovs","purl":"pkg:rpm/redhat/atomic-openshift-sdn-ovs","source":"RHSA-2019:1852"},{"ecosystem":"Red Hat:openshift:3.9::el7","fixed":["0:3.9.89-1.git.0.9454f2a.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-service-catalog","purl":"pkg:rpm/redhat/atomic-openshift-service-catalog","source":"RHSA-2019:1852"},{"ecosystem":"Red Hat:openshift:3.9::el7","fixed":["0:3.9.89-1.git.0.9454f2a.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-template-service-broker","purl":"pkg:rpm/redhat/atomic-openshift-template-service-broker","source":"RHSA-2019:1852"},{"ecosystem":"Red Hat:openshift:3.9::el7","fixed":["0:3.9.89-1.git.0.9454f2a.el7"],"introduced":["0"],"last_affected":[],"package":"atomic-openshift-tests","purl":"pkg:rpm/redhat/atomic-openshift-tests","source":"RHSA-2019:1852"}],"prev":{"headline":"kubelet-started container uid changes to root after first restart or if image is already pulled to the node","id":"CVE-2019-11245"},"products":["Kubernetes"],"published":"2019-08-29","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":"Red Hat","prefix":"RHSA"},{"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-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 local machine, potentially executing code.","url":"https://insights.sbomify.com/CVE-2019-11246/"}