Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/openshift/builder/pkg/build/builder
  4. ›
  5. CVE-2021-4125

CVE-2021-4125: Deserialization of Untrusted Data

August 24, 2022 (updated November 7, 2023)

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.

References

  • access.redhat.com/security/cve/CVE-2021-4125
  • access.redhat.com/security/cve/CVE-2021-44228
  • access.redhat.com/security/cve/CVE-2021-45046
  • bugzilla.redhat.com/show_bug.cgi?id=2033121
  • github.com/kube-reporting/hive/pull/71
  • github.com/kube-reporting/hive/pull/72
  • github.com/kube-reporting/hive/pull/73
  • nvd.nist.gov/vuln/detail/CVE-2021-4125

Code Behaviors & Features

Detect and mitigate CVE-2021-4125 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.6.0 before 4.6.52, all versions starting from 4.7.0 before 4.7.40, all versions starting from 4.8.0 before 4.8.24

Fixed versions

  • v4.6.52
  • v4.7.40
  • v4.8.24

Solution

Upgrade to versions 4.6.52, 4.7.40, 4.8.24 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

go/github.com/openshift/builder/pkg/build/builder/CVE-2021-4125.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:38 +0000.