# CVE-2021-4178: fabric8 kubernetes-client vulnerable

- Severity: Medium 6.7 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 28% of CVEs (2026-12-01)
- Published: 2022-07-15T05:17:35.000Z
- Modified: 2026-07-08T06:28:37.537Z
- Also known as: GHSA-98g7-rxmf-rrxm
- Weaknesses: CWE-94, CWE-502
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- kubernetes-client: Affects 5.x versions, Fixed in kubernetes-client v5.0.3 and above.
- io.fabric8:kubernetes-client (Maven): from 5.0.0-beta-1 before 5.0.3; from 5.1.0 before 5.1.2; from 5.2.0 before 5.3.2; from 5.5.0 before 5.7.4; from 5.8.0 before 5.8.1; from 5.9.0 before 5.10.2; from 5.11.0 before 5.11.2
- redhat fabric8-kubernetes: from 5.0.1 before 5.0.3; from 5.1.0 before 5.1.2; from 5.2.0 before 5.3.2; from 5.5.0 before 5.7.4; from 5.9.0 before 5.10.2; from 5.11.0 before 5.11.2; 5.0.0; 5.8.0
- redhat a-mq_streams: 2.0.1
- redhat build_of_quarkus: 2.2.5
- redhat descision_manager: 7.0
- redhat fuse: 7.11
- redhat integration_camel_k: no versions given
- redhat integration_camel_quarkus: 2.2.1
- redhat openshift_application_runtimes: no versions given
- redhat process_automation: 7.0

## Every score

- GitHub: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2034388> (issue-tracking, vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2021-4178> (vendor-advisory)
- <https://github.com/advisories/GHSA-98g7-rxmf-rrxm> (third-party-advisory)
- <https://github.com/fabric8io/kubernetes-client/issues/3653> (issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-4178> (advisory)
- <https://github.com/fabric8io/kubernetes-client/commit/445103004d1ed3153d5abb272473451d05891e39> (web)
- <https://access.redhat.com/security/cve/cve-2021-4178> (web)
- <https://github.com/fabric8io/kubernetes-client> (package)
- <https://www.mend.io/vulnerability-database/CVE-2021-4178> (web)

## Sources

- CVE List: [CVE-2021-4178](https://www.cve.org/CVERecord?id=CVE-2021-4178), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-98g7-rxmf-rrxm](https://github.com/advisories/GHSA-98g7-rxmf-rrxm), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-4178](https://nvd.nist.gov/vuln/detail/CVE-2021-4178), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-4178 · Whole record: https://cve.day/CVE-2021-4178.json · Rebuilt by cve.day 2026-11-25T22:58:07.783Z
