CVE-2021-4178 json
fabric8 kubernetes-client vulnerable
published 2022-07-15 4 y ago modified 2026-07-08 4 mo ago also GHSA-98g7-rxmf-rrxm , EUVD-2022-6304
- cvss
- 6.7
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 27%
- public exploits
- 0
- none known
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.
Patch / fix
- maven io.fabric8:kubernetes-client 5.0.3, 5.1.2, 5.3.2, 5.7.4, 5.8.1, 5.10.2, 5.11.2
- redhat fabric8-kubernetes 5.0.3, 5.1.2, 5.3.2, 5.7.4, 5.10.2, 5.11.2
- jenkins ocp tools 4.13 2.387.3.1684911776-3.el8
- jenkins-2-plugins ocp tools 4.13 4.13.1684911916-1.el8
red hat advisories RHSA-2023:3299
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-4178 updated cvss 6.7
kubernetes-client: Insecure deserialization in unmarshalYaml method
-
Red Hat build of Quarkus kubernetes-client Red Hat Decision Manager 7 kubernetes-client Red Hat Integration Camel K 1 kubernetes-client Red Hat Integration Camel Quarkus 1 kubernetes-client Red Hat OpenShift Container Platform 4 jenkins-2-plugins Red Hat Process Automation 7 kubernetes-clientaffected: no fix available
-
Red Hat OpenShift Developer Tools and Services for OCP 4.13 jenkins-2-plugins 4.13.1684911916-1.el8fixed: vendor fix RHSA-2023:3299
-
Red Hat AMQ Streams 1.6.7fixed: vendor fix RHSA-2022:0467
-
Red Hat AMQ Streams 2.0.1fixed: vendor fix RHSA-2022:0469
-
Red Hat build of Quarkus 2.2.5fixed: vendor fix RHSA-2022:0589
-
Red Hat Fuse 7.11fixed: vendor fix RHSA-2022:5532
-
Red Hat RHINT Camel-Q 2.2.1fixed: vendor fix RHSA-2022:1013
-
Red Hat Text-Only RHOARfixed: vendor fix RHSA-2022:8761
show 1 moreshow fewer
-
Red Hat OpenShift Developer Tools and Services for OCP 4.13 jenkins 2.387.3.1684911776-3.el8 Red Hat JBoss Fuse 6 kubernetes-clientnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.7 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 6.7 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | io.fabric8:kubernetes-client | >=5.0.0-beta-1, <5.0.3 >=5.1.0, <5.1.2 >=5.2.0, <5.3.2 >=5.5.0, <5.7.4 >=5.8.0, <5.8.1 >=5.9.0, <5.10.2 >=5.11.0, <5.11.2 |
5.0.3 5.1.2 5.3.2 5.7.4 5.8.1 5.10.2 5.11.2 |
Affected products
- n/a kubernetes-client
Classification
References
-
github.com
/fabric8io/kubernetes-client/commit/445103004d1ed3153d5abb272473451d05891e39
web
-
bugzilla.redhat.com
/show_bug.cgi?id=2034388
web, issue-tracking, vendor-advisory
-
access.redhat.com
/security/cve/CVE-2021-4178
vendor-advisory
-
github.com
/advisories/GHSA-98g7-rxmf-rrxm
third-party-advisory
-
github.com
/fabric8io/kubernetes-client/issues/3653
web, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-4178
advisory
-
access.redhat.com
/security/cve/cve-2021-4178
web
-
github.com
/fabric8io/kubernetes-client
package
-
mend.io
/vulnerability-database/CVE-2021-4178
web
Sources
- CVE List CVE-2021-4178
- GitHub Advisory GHSA-98g7-rxmf-rrxm
- NVD CVE-2021-4178
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.