{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-4125 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-4125 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2021-4125 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2021-4125 in the wild and no public exploit code.\n\nAffected product: Redhat Openshift. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-4125/ (Markdown: https://insights.sbomify.com/CVE-2021-4125/index.md)","id":"CVE-2021-4125","markdown":"https://insights.sbomify.com/CVE-2021-4125/index.md","name":"CVE-2021-4125","record":{"aliases":["GHSA-jr7q-cc2x-97vj"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenShift Metering Hive","requires_auth":"none","summary":"Incomplete removal of vulnerable JndiLookup class in OpenShift Metering Hive containers allows remote code execution via deserialization.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"openshift","vendor":"redhat"}],"cvss":{"score":8.1,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"},{"id":"CWE-20","name":"Improper Input Validation"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Deserialization in kube-reporting/hive","id":"CVE-2021-4125","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:openshift","products":["redhat:openshift"],"type":"deserialization","year":"2021"},"n_packages":0,"n_references":7,"next":{"headline":"Security feature bypass in Thunderbird","id":"CVE-2021-4126"},"packages":[],"prev":{"headline":"Cross-site Scripting (XSS) - Stored in meetecho/janus-gateway","id":"CVE-2021-4124"},"products":["kube-reporting/hive"],"published":"2022-08-24","related":[{"cvss_score":10,"headline":"Command injection in n/a","id":"CVE-2014-3496","kev_date_added":null,"published":"2014-06-20"},{"cvss_score":9.8,"headline":"Hardcoded credentials in Red Hat OpenShift Enterprise","id":"CVE-2014-0234","kev_date_added":null,"published":"2020-02-12"},{"cvss_score":9.8,"headline":"Command injection in OpenShift Origin","id":"CVE-2013-2060","kev_date_added":null,"published":"2020-01-28"},{"cvss_score":9.1,"headline":"Path traversal in openshift-origin-msg-node-mcollective","id":"CVE-2013-4561","kev_date_added":null,"published":"2022-06-30"},{"cvss_score":8.8,"headline":"Command injection in Openshift","id":"CVE-2014-0163","kev_date_added":null,"published":"2019-12-11"},{"cvss_score":8.8,"headline":"Path traversal in atomic-openshift","id":"CVE-2018-1102","kev_date_added":null,"published":"2018-04-30"},{"cvss_score":8.8,"headline":"Privilege escalation in n/a","id":"CVE-2016-2160","kev_date_added":null,"published":"2016-06-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"Incomplete removal of vulnerable JndiLookup class in OpenShift Metering Hive containers allows remote code execution via deserialization.","url":"https://insights.sbomify.com/CVE-2021-4125/"}