HIGH 7.4

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)

ArtifactAffected versionsFixed 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

1affected artifacts
102affected versions
1,079dependent artifacts (est.)
71,540dependent versions

24% of the dependent artifacts (263) still pull an affected version in their latest release.

DepthDependent 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

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

Advisorynvd.nist.gov
Webgithub.com
Webbugzilla.redhat.com