Skip to content
Fencer Intel
medium 6.7

CVE-2021-4178 json

fabric8 kubernetes-client vulnerable

published 4y ago modified 4mo 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

Is CVE-2021-4178 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

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-client
    affected: no fix available
  • Red Hat OpenShift Developer Tools and Services for OCP 4.13 jenkins-2-plugins 4.13.1684911916-1.el8
    fixed: vendor fix RHSA-2023:3299
  • Red Hat AMQ Streams 1.6.7
    fixed: vendor fix RHSA-2022:0467
  • Red Hat AMQ Streams 2.0.1
    fixed: vendor fix RHSA-2022:0469
  • Red Hat build of Quarkus 2.2.5
    fixed: vendor fix RHSA-2022:0589
  • Red Hat Fuse 7.11
    fixed: vendor fix RHSA-2022:5532
  • Red Hat RHINT Camel-Q 2.2.1
    fixed: vendor fix RHSA-2022:1013
  • Red Hat Text-Only RHOAR
    fixed: vendor fix RHSA-2022:8761
show 1 more
  • Red Hat OpenShift Developer Tools and Services for OCP 4.13 jenkins 2.387.3.1684911776-3.el8 Red Hat JBoss Fuse 6 kubernetes-client
    not 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-09).

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

Weakness
  • CWE-502 Deserialization of Untrusted Data
  • CWE-94 Improper Control of Generation of Code

References

Sources

Fencer Intel 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.