Vulnerability Name:

CVE-2021-4178 (CCN-222690)

Assigned:2021-12-27
Published:2021-12-27
Updated:2022-10-04
Summary:A arbitrary code execution flaw was found in the Fabric 8 Kubernetes client affecting versions 5.0.0-beta-1 and above. Due to an improperly configured YAML parsing, this will allow a local and privileged attacker to supply malicious YAML.
CVSS v3 Severity:6.7 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H)
5.8 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): High
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
6.7 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H)
5.8 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): High
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:6.8 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-502
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2021-4178

Source: MISC
Type: Vendor Advisory
https://access.redhat.com/security/cve/CVE-2021-4178

Source: CCN
Type: Red Hat Bugzilla - Bug 2034388
CVE-2021-4178 kubernetes-client: Insecure deserialization in unmarshalYaml method

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

Source: XF
Type: UNKNOWN
fabric8-cve20214178-code-exec(222690)

Source: MISC
Type: Third Party Advisory
https://github.com/advisories/GHSA-98g7-rxmf-rrxm

Source: CCN
Type: kubernetes-client GIT Reposiotry
Security issue in kubernetes-client #3653

Source: MISC
Type: Issue Tracking, Third Party Advisory
https://github.com/fabric8io/kubernetes-client/issues/3653

Source: CCN
Type: kubernetes-client GIT Reposiotry
test: Verification for Security issue in kubernetes-client #3653 fix #3720

Source: CCN
Type: IBM Security Bulletin 6601275 (Event Streams)
IBM Event Streams is vulnerable to arbitrary code execution due to the Fabric8 Kubernetes client (CVE-2021-4178)

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2021-4178

Vulnerable Configuration:Configuration 1:
  • cpe:/a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* (Version >= 5.1.0 and < 5.1.2)
  • OR cpe:/a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* (Version >= 5.2.0 and < 5.3.2)
  • OR cpe:/a:redhat:fabric8-kubernetes:5.8.0:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* (Version >= 5.5.0 and < 5.7.4)
  • OR cpe:/a:redhat:fabric8-kubernetes:5.0.0:beta1:*:*:*:*:*:*
  • OR cpe:/a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* (Version >= 5.0.1 and < 5.0.3)
  • OR cpe:/a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* (Version >= 5.11.0 and < 5.11.2)
  • OR cpe:/a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* (Version >= 5.9.0 and < 5.10.2)

  • Configuration 2:
  • cpe:/a:redhat:process_automation:7.0:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:openshift_application_runtimes:-:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:descision_manager:7.0:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:integration_camel_k:-:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:a-mq_streams:2.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:fuse:7.11:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:integration_camel_quarkus:2.2.1:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:build_of_quarkus:2.2.5:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    redhat fabric8-kubernetes *
    redhat fabric8-kubernetes *
    redhat fabric8-kubernetes 5.8.0
    redhat fabric8-kubernetes *
    redhat fabric8-kubernetes 5.0.0 beta1
    redhat fabric8-kubernetes *
    redhat fabric8-kubernetes *
    redhat fabric8-kubernetes *
    redhat process automation 7.0
    redhat openshift application runtimes -
    redhat descision manager 7.0
    redhat integration camel k -
    redhat a-mq streams 2.0.1
    redhat fuse 7.11
    redhat integration camel quarkus 2.2.1
    redhat build of quarkus 2.2.5