CVE-2021-4178: Code Injection

Published Dec 20, 2021
·
Updated

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.

Other sources

A flaw was found in kubernetes-client. An insecure deserialization issue due to the use of the SnakeYAML library may lead to arbitrary code execution.

References:

https://github.com/fabric8io/kubernetes-client/issues/3653

Red Hat

fabric8 Kubernetes client had an arbitrary code execution flaw in versions 5.0.0-beta-1 and higher. Attackers could potentially insert malicious YAMLs due to misconfigured YAML parsing.

GitHub

Affected Software

31 affected componentsFixes available
redhat/jenkins<2-plugins-0:4.13.1684911916-1.el8
2-plugins-0:4.13.1684911916-1.el8
redhat/kubernetes-client<5.0.3
5.0.3
redhat/kubernetes-client<5.1.2
5.1.2
redhat/kubernetes-client<5.3.2
5.3.2
redhat/kubernetes-client<5.4.2
5.4.2
redhat/kubernetes-client<5.7.4
5.7.4
redhat/kubernetes-client<5.8.1
5.8.1
redhat/kubernetes-client<5.11.2
5.11.2
maven/io.fabric8:kubernetes-client>=5.11.0<5.11.2
5.11.2
maven/io.fabric8:kubernetes-client>=5.9.0<5.10.2
5.10.2
maven/io.fabric8:kubernetes-client>=5.8.0<5.8.1
5.8.1
maven/io.fabric8:kubernetes-client>=5.5.0<5.7.4
5.7.4
maven/io.fabric8:kubernetes-client>=5.2.0<5.3.2
5.3.2
maven/io.fabric8:kubernetes-client>=5.1.0<5.1.2
5.1.2
maven/io.fabric8:kubernetes-client>=5.0.0-beta-1<5.0.3
5.0.3
redhat Fabric8-kubernetes>=5.0.1<5.0.3
redhat Fabric8-kubernetes>=5.1.0<5.1.2
redhat Fabric8-kubernetes>=5.2.0<5.3.2
redhat Fabric8-kubernetes>=5.5.0<5.7.4
redhat Fabric8-kubernetes>=5.9.0<5.10.2
redhat Fabric8-kubernetes>=5.11.0<5.11.2
redhat Fabric8-kubernetes=5.0.0-beta1
redhat Fabric8-kubernetes=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
redhat Integration Camel Quarkus=2.2.1
redhat Openshift Application Runtimes
redhat Process Automation=7.0

Event History

Dec 20, 2021
Data Sourced
via Red Hat·07:23 PM
DescriptionSeverityAffected Software
Jan 5, 2022
CVE Published
03:05 PM
Jul 15, 2022
Advisory Published
via GitHub·05:17 AM
Aug 24, 2022
CVE Published
via MITRE·03:02 PM
Data Sourced
via MITRE·03:02 PM
DescriptionWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2021-4178?

CVE-2021-4178 is an arbitrary code execution flaw in the Fabric 8 Kubernetes client affecting versions 5.0.0-beta-1 and above.

2

How does CVE-2021-4178 affect the Fabric 8 Kubernetes client?

CVE-2021-4178 allows a local and privileged attacker to supply malicious YAML due to an improperly configured YAML parsing.

3

What is the severity of CVE-2021-4178?

The severity of CVE-2021-4178 is medium with a CVSS score of 6.7.

4

How can I fix CVE-2021-4178 in the Fabric 8 Kubernetes client?

To fix CVE-2021-4178, update the Fabric 8 Kubernetes client to version 5.0.3 or higher.

5

Where can I find more information about CVE-2021-4178?

More information about CVE-2021-4178 can be found in the following references: [link_1], [link_2], [link_3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203