Input validation error in Java client for Kubernetes & OpenShift - CVE-2021-4178
Published: February 9, 2022
Vulnerability identifier: #VU60453
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-4178
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to insufficient validation of user-supplied input when parsing YAML files. A local user can supply a specially crafted YAML file and execute arbitrary code with elevated privileges.
Affected software
Java client for Kubernetes & OpenShift
AMQ Streams
Cloudera Data Platform Private Cloud Base for IBM
Event Streams
jenkins (Red Hat package)
jenkins-2-plugins (Red Hat package)
AMQ Streams
Cloudera Data Platform Private Cloud Base for IBM
Event Streams
jenkins (Red Hat package)
jenkins-2-plugins (Red Hat package)
How to mitigate CVE-2021-4178
Install updates from vendor's website.
Java client for Kubernetes & OpenShift - addressed in versions 5.0.3, 5.1.2, 5.3.2, 5.4.2, 5.7.4, 5.8.1, 5.11.2
AMQ Streams - addressed in versions 1.6.7, 2.0.1
Cloudera Data Platform Private Cloud Base for IBM - addressed in versions 7.1.7 SP3, 7.1.9 SP1
Event Streams - update to 11.0.1
jenkins (Red Hat package) - update to 2.387.3.1684911776-3.el8
jenkins-2-plugins (Red Hat package) - update to 4.13.1684911916-1.el8
AMQ Streams - addressed in versions 1.6.7, 2.0.1
Cloudera Data Platform Private Cloud Base for IBM - addressed in versions 7.1.7 SP3, 7.1.9 SP1
Event Streams - update to 11.0.1
jenkins (Red Hat package) - update to 2.387.3.1684911776-3.el8
jenkins-2-plugins (Red Hat package) - update to 4.13.1684911916-1.el8
External References
Related Security Bulletins
- Privilege escalation in fabric8io Java client for Kubernetes
- Multiple vulnerabilities in Red Hat AMQ Streams 1.6
- Multiple vulnerabilities in Red Hat AMQ Streams 2.0
- Privilege escalation in IBM Event Streams
- OpenShift Developer Tools and Services for OCP 4.13 update for jenkins and jenkins-2-plugins
- Multiple vulnerabilities in Cloudera Data Platform Private Cloud Base with IBM (CDP)