{"id":"CVE-2019-11251","published":"2020-02-03T15:35:13Z","modified":"2024-08-04T22:48:09Z","title":"kubectl cp allows symlink directory traversal","vendor":"Kubernetes","product":"Kubernetes","tier":"tail","description":{"text":"The Kubernetes kubectl cp command in versions 1.1-1.12, and versions prior to 1.13.11, 1.14.7, and 1.15.4 allows a combination of two symlinks provided by tar output of a malicious container to place a file outside of the destination directory specified in the kubectl cp invocation. This could be used to allow an attacker to place a nefarious file using a symlink, outside of the destination tree.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0262,"percentile":0.85832,"provenance":"source"},"cwes":[{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following"}],"references":[{"url":"https://github.com/kubernetes/kubernetes/issues/87773","tags":["x_refsource_CONFIRM"]},{"url":"https://groups.google.com/d/msg/kubernetes-announce/YYtEFdFimZ4/nZnOezZuBgAJ","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":20.5,"factors":[{"name":"EPSS percentile","points":17.17},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"kubernetes","affectedVersions":[{"vendor":"Kubernetes","product":"Kubernetes","versions":["prior to 1.13.11","prior to 1.14.7","prior to 1.15.4","1.1","1.2","1.3","1.4","1.5","1.6","1.7"]}],"affected":[{"ecosystem":"Go","package":"k8s.io/kubernetes","vulnerableRanges":[">=1.13.10, <1.13.11",">=1.14.6, <1.14.7",">=1.15.3, <1.16.0"],"patched":["1.13.11","1.14.7","1.16.0"],"from":["GHSA-6qfg-8799-r575","GO-2022-0802"],"provenance":"source"}],"summary":{"text":"The kubectl cp command in Kubernetes (versions 1.1 through 1.12, and versions before 1.13.11, 1.14.7, and 1.15.4) is affected by a symlink-following flaw. A malicious container can supply two symlinks in its tar output so that kubectl cp writes a file outside the destination directory given in the invocation, and an attacker who can reach that container over the network with low privileges, while a user is induced to run the copy, can use this to place a file outside the destination tree.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:50Z"},"euvd":{"id":"EUVD-2021-0974","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-1002101","published":"2019-04-01","fixed":"1.13.5","kev":false},{"cve":"CVE-2019-11245","published":"2019-08-29","fixed":"1.14.3","kev":false},{"cve":"CVE-2019-11250","published":"2019-08-29","fixed":"1.16.0-beta.1","kev":false,"link":{"from":"CVE-2019-11250","to":"CVE-2019-11251","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:k8s.io/kubernetes","fromFixed":"1.16.0-beta.1","toFixed":"1.16.0","daysApart":158}]}},{"cve":"CVE-2019-11251","published":"2020-02-03","fixed":"1.16.0","kev":false},{"cve":"CVE-2019-11253","published":"2019-10-17","fixed":"1.16.2","kev":false},{"cve":"CVE-2020-8551","published":"2020-03-27","fixed":"1.17.2","kev":false},{"cve":"CVE-2020-8555","published":"2020-06-04","fixed":"1.18.1","kev":false}],"package":"Go:k8s.io/kubernetes"}}