CVE-2021-20218Redhat Kubernetes-client
High 7.4 No auth needed
Follow: this CVE · Redhat · Redhat Kubernetes-client We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.4
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 71
- Auth required
- No
- Published
- Mar 16, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
What happens
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
What to do
- Apply the vendor's security update for Kubernetes-client.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | io.fabric8:kubernetes-client |
≥ 4.2.0 < 4.7.2 |
4.7.2 |
— |
| Maven | io.fabric8:kubernetes-client |
≥ 4.8.0 < 4.11.2 |
4.11.2 |
— |
| Maven | io.fabric8:kubernetes-client |
≥ 4.12.0 < 4.13.2 |
4.13.2 |
— |
| Maven | io.fabric8:kubernetes-client |
≥ 5.0.0 < 5.0.2 |
5.0.2 |
— |
Per OSV / GitHub Advisories (GHSA-jwh2-ffg4-48xc). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redhat | kubernetes-client | ≥ 4.2.0 < 4.7.2 |
| redhat | kubernetes-client | ≥ 4.8.0 < 4.11.2 |
| redhat | kubernetes-client | ≥ 4.12.0 < 4.13.2 |
| redhat | kubernetes-client | ≥ 5.0.0 < 5.0.2 |
| redhat | a-mq_online | all |
| redhat | build_of_quarkus | all |
| redhat | codeready_studio | 12.0 |
| redhat | descision_manager | 7.0 |
| redhat | integration_camel_k | all |
| redhat | jboss_fuse | 7.0.0 |
| redhat | openshift_container_platform | 3.11 |
| redhat | process_automation | 7.0 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Vendor Advisory
- github.com Patch Third Party Advisory