CVE-2024-45497
JSON

7.6high

Openshift-api: openshift-controller-manager/build: build process in openshift allows overwriting of node pull credentials

Severity
7.6high CVSS:3.1 by redhat
Exploit likelihood
0.58% (higher than 48% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

Description

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.

Affected

Product or packageVersionsReported by
openshift4.16CVE List
openshift4/ose-cluster-openshift-apiserver-operatorNot specified
Not affected: from v4.12.0-202506062300.p0.gb870fc6.assembly.stream.el8 before *, from v4.13.0-202507061330.p0.g9abb220.assembly.stream.el8 before *, from v4.14.0-202506112307.p0.g700dc11.assembly.stream.el8 before *
CVE List
openshift4/ose-cluster-openshift-apiserver-rhel9-operatorNot specified
Not affected: from v4.16.0-202506062300.p0.gd26f300.assembly.stream.el9 before *, from v4.17.0-202507011904.p0.g2b2ba3b.assembly.stream.el9 before *, from v4.18.0-202506062012.p0.g0a6f6eb.assembly.stream.el9 before *, from v4.19.0-202506111842.p0.g5f66a3e.assembly.stream.el9 before *
CVE List
openshift4/aws-karpenter-provider-aws-rhel9Not specified
Not affected: from v4.19.0-202506111842.p0.g68ae0c2.assembly.stream.el9 before *
CVE List
openshift4/aws-kms-encryption-provider-rhel9Not specified
Not affected: from v4.19.0-202506111842.p0.g088dcaf.assembly.stream.el9 before *
CVE List
openshift4/azure-kms-encryption-provider-rhel9Not specified
Not affected: from v4.19.0-202506111842.p0.g20a9ba5.assembly.stream.el9 before *
CVE List
openshift4/azure-service-rhel9-operatorNot specified
Not affected: from v4.19.0-202506111842.p0.g0ae129b.assembly.stream.el9 before *
CVE List
openshift4/cloud-network-config-controller-rhel9Not specified
Not affected: from v4.19.0-202506111842.p0.g98ae311.assembly.stream.el9 before *
CVE List
openshift4/container-networking-plugins-microshift-rhel9Not specified
Not affected: from v4.19.0-202506111842.p0.gb09f487.assembly.stream.el9 before *
CVE List
openshift4/driver-toolkit-rhel9Not specified
Not affected: from v4.19.0-202506181037.p0.g686fdac.assembly.stream.el9 before *
CVE List
openshift4/egress-router-cni-rhel9Not specified
Not affected: from v4.19.0-202506111842.p0.g85353bb.assembly.stream.el9 before *
CVE List
openshift4/frr-rhel9Not specified
Not affected: from v4.19.0-202506111842.p0.g5076dbc.assembly.stream.el9 before *
CVE List

Classification

CWE-732

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Se encontró una falla en el proceso de compilación de OpenShift, donde el contenedor docker-build está configurado con un montaje de volumen hostPath que asigna el archivo /var/lib/kubelet/config.json del nodo al pod de compilación. Este archivo contiene credenciales confidenciales necesarias para extraer imágenes de repositorios privados. El montaje no es de solo lectura, lo que permite al atacante sobrescribirlo. Al modificar el archivo config.json, el atacante puede provocar una denegación de servicio al evitar que el nodo extraiga nuevas imágenes y potencialmente exfiltre secretos confidenciales. Esta falla afecta la disponibilidad de los servicios que dependen de la extracción de imágenes y expone información confidencial a terceros no autorizados.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-45497 changed 2026-09-21CVE Terms of Use
NVDCVE-2024-45497 changed 2026-09-21Public domain