---
id: CVE-2024-45497
title: >-
  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
summary: >-
  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 credenti…
severity: high
cvss: 7.6
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H'
cwe:
  - CWE-732
vendor: Red Hat
product: openshift
affected:
  - openshift 4.16
  - openshift4/ose-cluster-openshift-apiserver-operator (all versions)
  - openshift4/ose-cluster-openshift-apiserver-operator (all versions)
  - openshift4/ose-cluster-openshift-apiserver-operator (all versions)
  - openshift4/ose-cluster-openshift-apiserver-rhel9-operator (all versions)
  - openshift4/ose-cluster-openshift-apiserver-rhel9-operator (all versions)
  - openshift4/ose-cluster-openshift-apiserver-rhel9-operator (all versions)
  - openshift4/aws-karpenter-provider-aws-rhel9 (all versions)
  - openshift4/aws-kms-encryption-provider-rhel9 (all versions)
  - openshift4/azure-kms-encryption-provider-rhel9 (all versions)
  - openshift4/azure-service-rhel9-operator (all versions)
  - openshift4/cloud-network-config-controller-rhel9 (all versions)
  - openshift4/container-networking-plugins-microshift-rhel9 (all versions)
  - openshift4/driver-toolkit-rhel9 (all versions)
  - openshift4/egress-router-cni-rhel9 (all versions)
  - openshift4/frr-rhel9 (all versions)
  - openshift4/insights-runtime-exporter-rhel9 (all versions)
  - openshift4/insights-runtime-extractor-rhel9 (all versions)
  - openshift4/kube-metrics-server-rhel9 (all versions)
  - openshift4/kubevirt-csi-driver-rhel9 (all versions)
  - openshift4/network-tools-rhel9 (all versions)
  - openshift4/oc-mirror-plugin-rhel9 (all versions)
  - openshift4/openshift-route-controller-manager-rhel9 (all versions)
  - openshift4/openstack-resource-controller-rhel9 (all versions)
  - openshift4/ose-agent-installer-api-server-rhel9 (all versions)
  - openshift4/ose-agent-installer-csr-approver-rhel9 (all versions)
  - openshift4/ose-agent-installer-node-agent-rhel9 (all versions)
  - openshift4/ose-agent-installer-orchestrator-rhel9 (all versions)
  - openshift4/ose-agent-installer-utils-rhel9 (all versions)
  - openshift4/ose-apiserver-network-proxy-rhel9 (all versions)
  - openshift4/ose-aws-cloud-controller-manager-rhel9 (all versions)
  - openshift4/ose-aws-cluster-api-controllers-rhel9 (all versions)
  - openshift4/ose-aws-ebs-csi-driver-rhel9 (all versions)
  - openshift4/ose-aws-ebs-csi-driver-rhel9-operator (all versions)
  - openshift4/ose-aws-pod-identity-webhook-rhel9 (all versions)
  - openshift4/ose-azure-cloud-controller-manager-rhel9 (all versions)
  - openshift4/ose-azure-cloud-node-manager-rhel9 (all versions)
  - openshift4/ose-azure-cluster-api-controllers-rhel9 (all versions)
  - openshift4/ose-azure-disk-csi-driver-rhel9 (all versions)
  - openshift4/ose-azure-disk-csi-driver-rhel9-operator (all versions)
  - openshift4/ose-azure-file-csi-driver-operator-rhel9 (all versions)
  - openshift4/ose-azure-file-csi-driver-rhel9 (all versions)
  - openshift4/ose-azure-workload-identity-webhook-rhel9 (all versions)
  - openshift4/ose-baremetal-cluster-api-controllers-rhel9 (all versions)
  - openshift4/ose-baremetal-installer-rhel9 (all versions)
  - openshift4/ose-baremetal-machine-controllers-rhel9 (all versions)
  - openshift4/ose-baremetal-rhel9-operator (all versions)
  - openshift4/ose-baremetal-runtimecfg-rhel9 (all versions)
  - openshift4/ose-cli-artifacts-rhel9 (all versions)
  - openshift4/ose-cli-rhel9 (all versions)
published: '2024-12-31'
updated: '2026-09-21'
sourceUpdated: '2026-09-21T18:17:04.047'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-45497'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2025:10270'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:10294'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:10747'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:9269'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:9278'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:9562'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:9759'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:9765'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2024-45497'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2308673'
    label: secalert@redhat.com
tags:
  - nvd
  - cve.org
epss: 0.00553
epssPercentile: 0.43749
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-12-31T15:53:54.435304Z'
ingestedAt: '2026-06-26T16:43:13.402Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
