cve.bz

CVE-2021-4125 redhat openshift: Deserialization of Untrusted Data

8.1 highEPSS 1.6%Fix available

High (8.1) in redhat openshift. EPSS 1.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.6% (unchanged from 1.6% a week ago; 1.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 76th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-502 Deserialization of Untrusted Data
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection, A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-4125 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-4125?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-4125?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-4125 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:openshiftfrom 4.6.0 before 4.6.52
redhat:openshiftfrom 4.7.0 before 4.7.40
redhat:openshiftfrom 4.8.0 before 4.8.24

Red Hat

Red Hat rates this Critical.

Red Hat's statement

This CVE only applies to the OpenShift Metering hive container images, shipped in OpenShift 4.8, 4.7 and 4.6. The below previously shipped advisories were incomplete:

https://access.redhat.com/errata/RHSA-2021:5108

https://access.redhat.com/errata/RHSA-2021:5107

https://access.redhat.com/errata/RHSA-2021:5106

For the complete fix, customers should upgrade to the images shipped in these advisories:

4.8.24: https://access.redhat.com/errata/RHSA-2021:5183

4.7.40: https://access.redhat.com/errata/RHSA-2021:5184

4.6.52 https://access.redhat.com/errata/RHSA-2021:5186

The OpenShift Metering hive container images were deprecated in OpenShift 4.8, and not shipped in 4.9 or later.

Red Hat's mitigation

Please follow the Mitigation advice for the original CVEs.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 4.6openshift4/ose-metering-hive:v4.6.0-202112160147.p0.gf139e12.assembly.streamFixed 2021-12-16RHSA-2021:5186
Red Hat OpenShift Container Platform 4.7openshift4/ose-metering-hive:v4.7.0-202112160422.p0.g6a2b6aa.assembly.4.7.40Fixed 2021-12-16RHSA-2021:5184
Red Hat OpenShift Container Platform 4.8openshift4/ose-metering-hive:v4.8.0-202112160147.p0.g5672016.assembly.streamFixed 2021-12-16RHSA-2021:5183

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-4125.

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON