Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | kubernetes-client | Affects 5.x versions, Fixed in kubernetes-client v5.0.3 and above. | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Ocp Tools 4 | jenkins | 2.387.3.1684911776-3.el8 | RHSA-2023:3299 |
| Red Hat Ocp Tools 4 | jenkins-2-plugins | 4.13.1684911916-1.el8 | RHSA-2023:3299 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
shoucheng3/fabric8io__kubernetes-client_CVE-2021-4178_5-0-2 ★ 0 · Aug 17, 2025
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | io.fabric8:kubernetes-client | >= 5.0.0-beta-1, < 5.0.3 | 5.0.3 | GHSA-98g7-rxmf-rrxm |
| Maven | io.fabric8:kubernetes-client | >= 5.1.0, < 5.1.2 | 5.1.2 | GHSA-98g7-rxmf-rrxm |
| Maven | io.fabric8:kubernetes-client | >= 5.2.0, < 5.3.2 | 5.3.2 | GHSA-98g7-rxmf-rrxm |
| Maven | io.fabric8:kubernetes-client | >= 5.5.0, < 5.7.4 | 5.7.4 | GHSA-98g7-rxmf-rrxm |
| Maven | io.fabric8:kubernetes-client | >= 5.8.0, < 5.8.1 | 5.8.1 | GHSA-98g7-rxmf-rrxm |
| Maven | io.fabric8:kubernetes-client | >= 5.9.0, < 5.10.2 | 5.10.2 | GHSA-98g7-rxmf-rrxm |
| Maven | io.fabric8:kubernetes-client | >= 5.11.0, < 5.11.2 | 5.11.2 | GHSA-98g7-rxmf-rrxm |
Advisories 2
- RHSA-2023:3299 Red Hat Security Advisory: jenkins and jenkins-2-plugins security update Red Hat Security Advisories (RHSA) · Oct 13, 2026
- WID-SEC-2022-0607 Red Hat FUSE: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 9, 2026