{"id":"CVE-2021-20218","published":"2021-03-16T21:00:32Z","modified":"2024-08-03T17:30:07Z","title":"A flaw was found in the fabric8 kubernetes-client in version 4.2.0 and after","vendor":null,"product":null,"tier":"tail","description":{"text":"A flaw was found in the fabric8 kubernetes-client in version 4.2.0 and after. This flaw allows a malicious pod/container to cause applications using the fabric8 kubernetes-client `copy` command to extract files outside the working path. The highest threat from this vulnerability is to integrity and system availability. This has been fixed in kubernetes-client-4.13.2 kubernetes-client-5.0.2 kubernetes-client-4.11.2 kubernetes-client-4.7.2","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01312,"percentile":0.71385,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1923405","tags":["x_refsource_MISC"]},{"url":"https://github.com/fabric8io/kubernetes-client/issues/2715","tags":["x_refsource_MISC"]}],"priority":{"score":14.3,"factors":[{"name":"EPSS percentile","points":14.28}]},"affectedVersions":[{"vendor":"n/a","product":"fabric8-kubernetes-client","versions":["kubernetes-client-4.2.0 and after"]}],"affected":[{"ecosystem":"Maven","package":"io.fabric8:kubernetes-client","vulnerableRanges":[">=4.2.0, <4.7.2",">=4.8.0, <4.11.2",">=4.12.0, <4.13.2",">=5.0.0, <5.0.2"],"patched":["4.7.2","4.11.2","4.13.2","5.0.2"],"from":["GHSA-jwh2-ffg4-48xc"],"provenance":"source"}],"summary":{"text":"A path traversal flaw exists in the fabric8 kubernetes-client library, starting at version 4.2.0, within its copy command. A malicious pod or container can use this flaw against applications that call the copy command, causing files to be extracted outside the intended working path, with the main impact on integrity and availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:50:01Z"},"euvd":{"id":"EUVD-2022-4447","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-20218","published":"2021-03-16","fixed":"5.0.2","kev":false},{"cve":"CVE-2021-4178","published":"2022-08-24","fixed":"5.11.2","kev":false,"link":{"from":"CVE-2021-20218","to":"CVE-2021-4178","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:io.fabric8:kubernetes-client","fromFixed":"5.0.2","toFixed":"5.0.3","daysApart":526}]}}],"package":"Maven:io.fabric8:kubernetes-client"}}