{"id":"GHSA-jwh2-ffg4-48xc","summary":"Improper Limitation of a Pathname to a Restricted Directory in Fabric8 Kubernetes Client","details":"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","aliases":["CVE-2021-20218"],"modified":"2023-11-01T04:54:04.954945Z","published":"2022-05-24T17:44:37Z","database_specific":{"nvd_published_at":"2021-03-16T21:15:00Z","cwe_ids":["CWE-22"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-06-22T18:50:29Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20218"},{"type":"WEB","url":"https://github.com/fabric8io/kubernetes-client/issues/2715"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1923405"}],"affected":[{"package":{"name":"io.fabric8:kubernetes-client","ecosystem":"Maven","purl":"pkg:maven/io.fabric8/kubernetes-client"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2.0"},{"fixed":"4.7.2"}]}],"versions":["4.2.0","4.2.1","4.2.2","4.3.0","4.3.1","4.4.0","4.4.1","4.4.2","4.5.0","4.5.1","4.5.2","4.6.0","4.6.1","4.6.2","4.6.3","4.6.4","4.7.0","4.7.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-jwh2-ffg4-48xc/GHSA-jwh2-ffg4-48xc.json","last_known_affected_version_range":"\u003c= 4.7.1"}},{"package":{"name":"io.fabric8:kubernetes-client","ecosystem":"Maven","purl":"pkg:maven/io.fabric8/kubernetes-client"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.8.0"},{"fixed":"4.11.2"}]}],"versions":["4.10.0","4.10.1","4.10.2","4.10.3","4.11.0","4.11.1","4.8.0","4.9.0","4.9.1","4.9.2"],"database_specific":{"last_known_affected_version_range":"\u003c= 4.11.1","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-jwh2-ffg4-48xc/GHSA-jwh2-ffg4-48xc.json"}},{"package":{"name":"io.fabric8:kubernetes-client","ecosystem":"Maven","purl":"pkg:maven/io.fabric8/kubernetes-client"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.12.0"},{"fixed":"4.13.2"}]}],"versions":["4.12.0","4.13.0","4.13.1"],"database_specific":{"last_known_affected_version_range":"\u003c= 4.13.1","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-jwh2-ffg4-48xc/GHSA-jwh2-ffg4-48xc.json"}},{"package":{"name":"io.fabric8:kubernetes-client","ecosystem":"Maven","purl":"pkg:maven/io.fabric8/kubernetes-client"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.0.2"}]}],"versions":["5.0.0","5.0.1"],"database_specific":{"last_known_affected_version_range":"\u003c= 5.0.1","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-jwh2-ffg4-48xc/GHSA-jwh2-ffg4-48xc.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H"}]}