CVE-2021-4178
MEDIUM 6.7CVSS 3.1fabric8 kubernetes-client vulnerable
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.
- Published
- 24 Aug 2022
- Last modified
- 8 Jul 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-502CWE-94
- Also known as
- GHSA-98g7-rxmf-rrxm
- Sources
- NVDJSONOSV GHSA-98g7-rxmf-rrxmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.7 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.7 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | fabric8-kubernetescpe:2.3:a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* |
>= 5.0.1, < 5.0.3 | 5.0.3 |
| NVD | redhat | fabric8-kubernetescpe:2.3:a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* |
>= 5.1.0, < 5.1.2 | 5.1.2 |
| NVD | redhat | fabric8-kubernetescpe:2.3:a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* |
>= 5.2.0, < 5.3.2 | 5.3.2 |
| NVD | redhat | fabric8-kubernetescpe:2.3:a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* |
>= 5.5.0, < 5.7.4 | 5.7.4 |
| NVD | redhat | fabric8-kubernetescpe:2.3:a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* |
>= 5.9.0, < 5.10.2 | 5.10.2 |
| NVD | redhat | fabric8-kubernetescpe:2.3:a:redhat:fabric8-kubernetes:*:*:*:*:*:*:*:* |
>= 5.11.0, < 5.11.2 | 5.11.2 |
| NVD | redhat | fabric8-kubernetescpe:2.3:a:redhat:fabric8-kubernetes:5.0.0:beta1:*:*:*:*:*:* |
= 5.0.0 | |
| NVD | redhat | fabric8-kubernetescpe:2.3:a:redhat:fabric8-kubernetes:5.8.0:*:*:*:*:*:*:* |
= 5.8.0 | |
| NVD | redhat | a-mq_streamscpe:2.3:a:redhat:a-mq_streams:2.0.1:*:*:*:*:*:*:* |
= 2.0.1 | |
| NVD | redhat | build_of_quarkuscpe:2.3:a:redhat:build_of_quarkus:2.2.5:*:*:*:*:*:*:* |
= 2.2.5 | |
| NVD | redhat | descision_managercpe:2.3:a:redhat:descision_manager:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | fusecpe:2.3:a:redhat:fuse:7.11:*:*:*:*:*:*:* |
= 7.11 | |
| NVD | redhat | integration_camel_kcpe:2.3:a:redhat:integration_camel_k:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | redhat | integration_camel_quarkuscpe:2.3:a:redhat:integration_camel_quarkus:2.2.1:*:*:*:*:*:*:* |
= 2.2.1 | |
| NVD | redhat | openshift_application_runtimescpe:2.3:a:redhat:openshift_application_runtimes:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | redhat | process_automationcpe:2.3:a:redhat:process_automation:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| OSV | Maven | io.fabric8:kubernetes-client | >= 5.0.0-beta-1, < 5.0.3 | 5.0.3 |
| OSV | Maven | io.fabric8:kubernetes-client | >= 5.1.0, < 5.1.2 | 5.1.2 |
| OSV | Maven | io.fabric8:kubernetes-client | >= 5.2.0, < 5.3.2 | 5.3.2 |
| OSV | Maven | io.fabric8:kubernetes-client | >= 5.5.0, < 5.7.4 | 5.7.4 |
| OSV | Maven | io.fabric8:kubernetes-client | >= 5.8.0, < 5.8.1 | 5.8.1 |
| OSV | Maven | io.fabric8:kubernetes-client | >= 5.9.0, < 5.10.2 | 5.10.2 |
| OSV | Maven | io.fabric8:kubernetes-client | >= 5.11.0, < 5.11.2 | 5.11.2 |
References
- https://access.redhat.com/security/cve/CVE-2021-4178 · Vendor Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2034388 · Issue Tracking, Vendor Advisory, WEB
- 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://github.com/fabric8io/kubernetes-client · PACKAGE
- https://www.mend.io/vulnerability-database/CVE-2021-4178 · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 24 Aug 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 15 Jul 2022)