Vulnerability Details : CVE-2021-20218
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
Vulnerability category: Directory traversal
Products affected by CVE-2021-20218
- cpe:2.3:a:redhat:jboss_fuse:7.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:openshift_container_platform:3.11:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:process_automation:7.0:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:kubernetes-client:*:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:kubernetes-client:*:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:kubernetes-client:*:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:kubernetes-client:*:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:a-mq_online:-:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:build_of_quarkus:-:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:codeready_studio:12.0:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:descision_manager:7.0:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:integration_camel_k:-:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-20218
0.59%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 67 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-20218
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.8
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:P/A:P |
8.6
|
4.9
|
NIST | |
7.4
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H |
2.2
|
5.2
|
NIST |
CWE ids for CVE-2021-20218
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by: secalert@redhat.com (Primary)
References for CVE-2021-20218
-
https://bugzilla.redhat.com/show_bug.cgi?id=1923405
1923405 – (CVE-2021-20218) CVE-2021-20218 fabric8-kubernetes-client: vulnerable to a path traversal leading to integrity and availability compromiseIssue Tracking;Vendor Advisory
-
https://github.com/fabric8io/kubernetes-client/issues/2715
Potential CVE? · Issue #2715 · fabric8io/kubernetes-client · GitHubPatch;Third Party Advisory
Jump to