CVE-2021-4178
Java vulnerability analysis and mitigation

Overview

A arbitrary code execution vulnerability (CVE-2021-4178) was discovered in the Fabric 8 Kubernetes client affecting versions 5.0.0-beta-1 and above. The vulnerability was reported on December 16, 2021, and stems from an improperly configured YAML parsing implementation (GitHub Issue, CVE Mitre).

Technical details

The vulnerability is related to insecure deserialization in the unmarshalYaml method due to the use of the SnakeYAML library. The flaw has been assigned a CVSS v3.1 base score of 6.7 (Moderate severity), with attack vector being Local, attack complexity Low, requiring High privileges, and no user interaction needed. The scope is Unchanged, with High impact on Confidentiality, Integrity, and Availability (GitHub Advisory).

Impact

If exploited, this vulnerability could allow a local and privileged attacker to execute arbitrary code on the affected system through the supply of malicious YAML configurations (Red Hat Bugzilla).

Mitigation and workarounds

Multiple patched versions have been released to address this vulnerability: 5.0.3, 5.1.2, 5.3.2, 5.7.4, 5.8.1, 5.10.2, and 5.11.2. Users are advised to upgrade to these patched versions to mitigate the risk (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65091CRITICAL10
  • JavaJava
  • org.xwiki.contrib:macro-fullcalendar-pom
NoYesJan 10, 2026
CVE-2025-70974CRITICAL10
  • JavaJava
  • com.alibaba:fastjson
NoYesJan 09, 2026
CVE-2026-22244HIGH8.5
  • JavaJava
  • org.open-metadata:platform
NoYesJan 08, 2026
CVE-2025-65090MEDIUM5.3
  • JavaJava
  • org.xwiki.contrib:macro-fullcalendar-pom
NoYesJan 10, 2026
CVE-2026-0707MEDIUM5.3
  • JavaJava
  • org.keycloak:keycloak-parent
NoNoJan 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management