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
An OpenShift build pod can access a node’s private image-pull credentials through a writable file mount. A low-privileged attacker who can control the relevant build process could alter those credentials, disrupting new image pulls, and could potentially expose secrets. This may interrupt deployments and services that depend on pulling container images.
Executive priority
Prioritize remediation for clusters permitting tenant, developer, or automation-controlled Docker builds. Credential exposure could require secret rotation, while credential modification could block deployments and recovery operations. Treat suspicious image-pull failures as a potential security event. Internet exposure alone does not establish exploitability; build permissions and update status are the decisive factors.
Technical view
The docker-build container mounts the node’s /var/lib/kubelet/config.json through hostPath without read-only enforcement. Because the mounted credential file is writable, an attacker with low privileges can modify it, affecting confidentiality and integrity and causing high availability impact. The supplied CVSS 3.1 score is 7.6, with no user interaction required.
Likely exposure
Exposure centers on affected OpenShift Container Platform environments where untrusted or compromised low-privileged users can control relevant Docker builds. The bundle identifies affected entries across versions 4.12 through 4.19, but exact exposure and corrected package boundaries should be confirmed against the applicable Red Hat advisory.
Exploitation context
The bundle marks this CVE as absent from KEV and provides no evidence of active exploitation. Exploitation requires low privileges but no user interaction, according to the supplied CVSS vector. The attacker must reach and influence the affected OpenShift build workflow; this is not described as unauthenticated compromise.
Researcher notes
The weakness maps to CWE-732 because a sensitive host credential file receives unsafe write access inside a build container. The supplied affected-product entries span 4.12–4.19 and contain varied package mappings. They do not clearly identify all fixed versions, so validate precise applicability and remediation builds through Red Hat’s CVE page and release-specific errata.
Mitigation direction
Apply the Red Hat security update applicable to the deployed OpenShift release.
Confirm corrected package versions using Red Hat’s CVE page and corresponding errata.
Restrict Docker build creation and administration to trusted identities until remediation is verified.
Pause untrusted Docker builds where immediate updating is not possible.
Rotate node image-pull credentials if unauthorized access or modification is suspected.
Validation and detection
Inventory OpenShift versions and compare installed packages with the applicable Red Hat errata.
Inspect Docker build pod specifications for a writable mount of /var/lib/kubelet/config.json.
Verify the relevant security updates are installed across every cluster and node pool.
Review audit records for suspicious builds or access involving node pull credentials.
Investigate unexpected image-pull failures and unauthorized changes to node credential files.
Confirm nodes can pull required private images after remediation.
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 CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program 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.19openshift4/aws-karpenter-provider-aws-rhel9, v4.19.0-202506111842.p0.g68ae0c2.assembly.stream.el9affected
Red HatRed Hat OpenShift Container Platform 4.19openshift4/aws-kms-encryption-provider-rhel9, v4.19.0-202506111842.p0.g088dcaf.assembly.stream.el9affected
Red HatRed Hat OpenShift Container Platform 4.19openshift4/azure-kms-encryption-provider-rhel9, v4.19.0-202506111842.p0.g20a9ba5.assembly.stream.el9affected
Red HatRed Hat OpenShift Container Platform 4.19openshift4/azure-service-rhel9-operator, v4.19.0-202506111842.p0.g0ae129b.assembly.stream.el9affected
Red HatRed Hat OpenShift Container Platform 4.19openshift4/cloud-network-config-controller-rhel9, v4.19.0-202506111842.p0.g98ae311.assembly.stream.el9affected
Red HatRed Hat OpenShift Container Platform 4.19openshift4/container-networking-plugins-microshift-rhel9, v4.19.0-202506111842.p0.gb09f487.assembly.stream.el9affected
Red HatRed Hat OpenShift Container Platform 4.19openshift4/driver-toolkit-rhel9, v4.19.0-202506181037.p0.g686fdac.assembly.stream.el9affected
Red HatRed Hat OpenShift Container Platform 4.19openshift4/egress-router-cni-rhel9, v4.19.0-202506111842.p0.g85353bb.assembly.stream.el9affected
Red HatRed Hat OpenShift Container Platform 4.19openshift4/frr-rhel9, v4.19.0-202506111842.p0.g5076dbc.assembly.stream.el9affected
Red HatRed Hat OpenShift Container Platform 4.19openshift4/insights-runtime-exporter-rhel9, v4.19.0-202506111842.p0.g0bee2d9.assembly.stream.el9affected
Red HatRed Hat OpenShift Container Platform 4.19openshift4/insights-runtime-extractor-rhel9, v4.19.0-202506111842.p0.g0bee2d9.assembly.stream.el9affected
Red HatRed Hat OpenShift Container Platform 4.19openshift4/kube-metrics-server-rhel9, v4.19.0-202506111842.p0.g037a0e7.assembly.stream.el9affected
Red HatRed Hat OpenShift Container Platform 4.19openshift4/kubevirt-csi-driver-rhel9, v4.19.0-202506111842.p0.ge302702.assembly.stream.el9affected
Red HatRed Hat OpenShift Container Platform 4.19openshift4/network-tools-rhel9, v4.19.0-202506161807.p0.g81f7aeb.assembly.stream.el9affected
Red HatRed Hat OpenShift Container Platform 4.19openshift4/oc-mirror-plugin-rhel9, v4.19.0-202506171635.p0.g40b6dde.assembly.stream.el9affected
Red HatRed Hat OpenShift Container Platform 4.19openshift4/openshift-route-controller-manager-rhel9, v4.19.0-202506111842.p0.gbc97534.assembly.stream.el9affected
Red HatRed Hat OpenShift Container Platform 4.19openshift4/openstack-resource-controller-rhel9, v4.19.0-202506111842.p0.gd00bab2.assembly.stream.el9affected
Red HatRed Hat OpenShift Container Platform 4.19openshift4/ose-agent-installer-api-server-rhel9, v4.19.0-202506161807.p0.gd4d43dd.assembly.stream.el9affected
Red HatRed Hat OpenShift Container Platform 4.19openshift4/ose-agent-installer-csr-approver-rhel9, v4.19.0-202506161807.p0.g0de2920.assembly.stream.el9affected
Red HatRed Hat OpenShift Container Platform 4.19openshift4/ose-agent-installer-node-agent-rhel9, v4.19.0-202506111842.p0.g32842e3.assembly.stream.el9affected
Red HatRed Hat OpenShift Container Platform 4.19openshift4/ose-agent-installer-orchestrator-rhel9, v4.19.0-202506111842.p0.g0de2920.assembly.stream.el9affected
Red HatRed Hat OpenShift Container Platform 4.19openshift4/ose-agent-installer-utils-rhel9, v4.19.0-202506131508.p0.g8cc3921.assembly.stream.el9affected
Red HatRed Hat OpenShift Container Platform 4.19openshift4/ose-apiserver-network-proxy-rhel9, v4.19.0-202506111842.p0.g77213cc.assembly.stream.el9affected
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.