CVE-2021-20218
Improper Limitation of a Pathname to a Restricted Directory in Fabric8 Kubernetes Client
Description
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
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| io.fabric8 » kubernetes-client | >= 4.2.0, < 4.7.2>= 4.8.0, < 4.11.2>= 4.12.0, < 4.13.2>= 5.0.0, < 5.0.2 | 4.7.2, 4.11.2, 4.13.2, 5.0.2 |
Blast radius
24% of the dependent artifacts (263) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 8,286 |
| 2 hops | 8,670 |
| 3 hops | 12,152 |
| 4 hops | 34,065 |
| 5 hops | 7,077 |
| 6 hops | 1,290 |
Most used dependents
- io.fabric8 » fabric8-maven-plugin676 usages
- org.apache.camel.springboot » camel-core-starter558 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- com.atlassian.jira » atlassian-jira-pageobjects230 usages
- com.atlassian.jira » jira-func-tests212 usages
- io.fabric8 » kubernetes-assertions169 usages
- org.apache.camel.quarkus » camel-quarkus-package-maven-plugin152 usages
- io.fabric8 » kubernetes-server-mock148 usages
- io.fabric8 » openshift-client147 usages
- org.wso2.carbon.apimgt » org.wso2.carbon.apimgt.impl126 usages
- org.apache.camel » camel-catalog87 usages
- io.dekorate » kubernetes-annotations67 usages
- io.dekorate » dekorate-spring-boot63 usages
- io.quarkus » quarkus-kubernetes-client56 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2021-20218 | nvd.nist.gov |
| Web | fabric8io/kubernetes-client issue #2715 | github.com |
| Web | show_bug.cgi | bugzilla.redhat.com |
