CVE-2024-45497: Openshift-api: openshift-controller-manager/build: build process in openshift allows overwriting of node pull credentials
A flaw was found in the OpenShift build process, where the docker-build container is configured with a hostPath volume mount that maps the node's /var/lib/kubelet/config.json file into the build pod. This file contains sensitive credentials necessary for pulling images from private repositories. The mount is not read-only, which allows the attacker to overwrite it. By modifying the config.json file, the attacker can cause a denial of service by preventing the node from pulling new images and potentially exfiltrating sensitive secrets. This flaw impacts the availability of services dependent on image pulls and exposes sensitive information to unauthorized parties.
Security readout for executives and security teams
Plain-English summary
CVE-2024-45497 affects Red Hat OpenShift build handling. A build pod may get writable access to a node image-pull credential file. A low-privileged attacker with build capability could disrupt image pulls and potentially expose registry credentials. This is mainly an availability and credential-protection risk for OpenShift clusters using affected versions.
Executive priority
Treat as a high-priority platform maintenance issue for OpenShift clusters with shared build capabilities. Prioritize clusters hosting critical workloads or private registry integrations, because exploitation could disrupt deployments and expose credentials used to pull business-critical images.
Technical view
The OpenShift docker-build container uses a hostPath mount for /var/lib/kubelet/config.json, which contains private registry pull credentials. The mount is not read-only, allowing overwrite from the build pod. Red Hat rates this high, CVSS 7.6, CWE-732. Listed affected platforms include OpenShift Container Platform 4.12 through 4.18 and 4.20 packages in the source bundle.
Likely exposure
Exposure is limited to OpenShift environments where users can create or influence builds on affected OpenShift Container Platform versions. Internet exposure alone is not the key factor; cluster permissions and build usage matter.
Exploitation context
The CVSS vector indicates network access with low privileges and no user interaction. The source bundle does not show CISA KEV listing or confirmed active exploitation. Impact includes node image-pull denial of service and possible credential disclosure.
Researcher notes
The public description identifies an unsafe writable hostPath mount of kubelet config.json into docker-build pods. The bundle lists several Red Hat advisories but does not provide detailed exploit telemetry. Avoid assuming compromise; validate by permissions, affected package state, and signs of pull-secret tampering.
Mitigation direction
Identify clusters running affected Red Hat OpenShift Container Platform versions and packages.
Apply the applicable Red Hat security advisories listed for your supported OpenShift release.
Restrict build creation rights to trusted users until remediation is complete.
Review vendor guidance for any release-specific mitigations or operational workarounds.
Rotate exposed registry pull credentials if tampering or unauthorized access is suspected.
Validation and detection
Inventory OpenShift versions and compare against Red Hat CVE and RHSA applicability.
Confirm the relevant OpenShift controller or apiserver operator packages are updated.
Review build permissions for users, groups, and service accounts.
Check for node image-pull failures following suspicious build activity.
Inspect audit and build logs for unusual build creation by low-privileged identities.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-732: Authorization and privilege behavior lookup
Authorization weaknesses can support privilege escalation and valid-account review, depending on exploit path. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The affected technology mentions containers, so container-specific ATT&CK technique review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
Red HatRed Hat OpenShift Container Platform 4.12openshift4/ose-cluster-openshift-apiserver-operator, v4.12.0-202506062300.p0.gb870fc6.assembly.stream.el8affected
Red HatRed Hat OpenShift Container Platform 4.13openshift4/ose-cluster-openshift-apiserver-operator, v4.13.0-202507061330.p0.g9abb220.assembly.stream.el8affected
Red HatRed Hat OpenShift Container Platform 4.14openshift4/ose-cluster-openshift-apiserver-operator, v4.14.0-202506112307.p0.g700dc11.assembly.stream.el8affected
Red HatRed Hat OpenShift Container Platform 4.16openshift4/ose-cluster-openshift-apiserver-rhel9-operator, v4.16.0-202506062300.p0.gd26f300.assembly.stream.el9affected
Red HatRed Hat OpenShift Container Platform 4.17openshift4/ose-cluster-openshift-apiserver-rhel9-operator, v4.17.0-202507011904.p0.g2b2ba3b.assembly.stream.el9affected
Red HatRed Hat OpenShift Container Platform 4.18openshift4/ose-cluster-openshift-apiserver-rhel9-operator, v4.18.0-202506062012.p0.g0a6f6eb.assembly.stream.el9affected
Red HatRed Hat OpenShift Container Platform 4.20openshift4/ose-openshift-controller-manager-rhel9, ose-openshift-controller-manager-container-v4.20.0-202509261327.p2.gd9e543d.assembly.stream.el9affected
Red HatRed Hat Fuse 7org.arquillian.cube/arquillian-cube-openshift-apiunknown
Red HatRed Hat OpenShift Container Platform 4openshift4/ose-openshift-apiserver-rhel8unaffected
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-732 · source CWE mapping
Incorrect Permission Assignment for Critical Resource
Incorrect Permission Assignment for Critical Resource represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.