CVE-2021-4125 Deserialization in kube-reporting/hive
Incomplete removal of vulnerable JndiLookup class in OpenShift Metering Hive containers allows remote code execution via deserialization.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-4125?
CVE-2021-4125 is a high-severity unsafe deserialization vulnerability in Redhat Openshift, published on 24 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
It was found that the original fix for log4j CVE-2021-44228 and CVE-2021-45046 in the OpenShift metering hive containers was incomplete, as not all JndiLookup.class files were removed. This CVE only applies to the OpenShift Metering hive container images, shipped in OpenShift 4.8, 4.7 and 4.6.
Which versions are affected by CVE-2021-4125?
It affects 1 product.
Products include Redhat Openshift.
How do I fix CVE-2021-4125?
No fix has been published for CVE-2021-4125 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2021-4125 being exploited?
There is no known exploitation of CVE-2021-4125 in the wild and no public exploit code.
Other vulnerabilities in Redhat Openshift
Sources
Also known as GHSA-jr7q-cc2x-97vj.