High

Improper Limitation of a Pathname to a Restricted Directory in Fabric8 Kubernetes Client

  • Disclosed: 24.05.2022
  • Updated: 11.10.2026 11:21

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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) 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

References

CVSS score 7.4/10
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
Weakness (CWE)
CWE-22
Platform
Java / Kotlin (Maven)
Package
io.fabric8:kubernetes-client
Disclosed
24.05.2022
Updated
11.10.2026 11:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-jwh2-ffg4-48xc - CC BY 4.0

Vulnerability history: io.fabric8:kubernetes-client

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
2
First → latest
05.2022 07.2022
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 1
  • Medium 1

Disclosures per year

  1. 2022: 2
  2. 2023: 0
  3. 2024: 0
  4. 2025: 0
  5. 2026: 0
  1. Medium · 6.7 CVE-2021-4178 >= 5.0.0-beta-1, < 5.0.3, >= 5.1.0, < 5.1.2, >= 5.2.0, < 5.3.2, >= 5.5.0, < 5.7.4, >= 5.8.0, < 5.8.1, >= 5.9.0, < 5.10.2, >= 5.11.0, < 5.11.2 5.0.3, 5.1.2, 5.3.2, 5.7.4, 5.8.1, 5.10.2, 5.11.2
  2. Improper Limitation of a Pathname to a Restricted Directory in Fabric8 Kubernetes Client this entry
    High · 7.4 CVE-2021-20218 >= 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

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.