Vulnerability Name:

CVE-2021-20218 (CCN-198331)

Assigned:2020-12-17
Published:2021-03-16
Updated:2021-03-25
Summary: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
CVSS v3 Severity:7.4 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H)
6.4 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): High
Availibility (A): High
9.1 Critical (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H)
7.9 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:5.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): Partial
9.4 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-22
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2021-20218

Source: CCN
Type: Red Hat Bugzilla - Bug 1923405
(CVE-2021-20218) - CVE-2021-20218 fabric8-kubernetes-client: vulnerable to a path traversal leading to integrity and availability compromise

Source: MISC
Type: Issue Tracking, Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1923405

Source: XF
Type: UNKNOWN
fabric8-cve202120218-sec-bypass(198331)

Source: CCN
Type: kubernetes-client GIT Repository
Potential CVE? #2715

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/fabric8io/kubernetes-client/issues/2715

Vulnerable Configuration:Configuration 1:
  • cpe:/a:redhat:kubernetes-client:*:*:*:*:*:*:*:* (Version >= 4.2.0 and < 4.7.2)
  • OR cpe:/a:redhat:kubernetes-client:*:*:*:*:*:*:*:* (Version >= 4.8.0 and < 4.11.2)
  • OR cpe:/a:redhat:kubernetes-client:*:*:*:*:*:*:*:* (Version >= 4.12.0 and < 4.13.2)
  • OR cpe:/a:redhat:kubernetes-client:*:*:*:*:*:*:*:* (Version >= 5.0.0 and < 5.0.2)

  • Configuration 2:
  • cpe:/a:redhat:a-mq_online:-:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:build_of_quarkus:-:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:codeready_studio:12.0:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:descision_manager:7.0:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:integration_camel_k:-:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:jboss_fuse:7.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:openshift_container_platform:3.11:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:process_automation:7.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    redhat kubernetes-client *
    redhat kubernetes-client *
    redhat kubernetes-client *
    redhat kubernetes-client *
    redhat a-mq online -
    redhat build of quarkus -
    redhat codeready studio 12.0
    redhat descision manager 7.0
    redhat integration camel k -
    redhat jboss fuse 7.0.0
    redhat openshift container platform 3.11
    redhat process automation 7.0