CVE-2024-45497

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

HIGH 7.6

At a glance

Source
NVD
EPSS
EPSS 0.58 % · percentile 47 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Deferred

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.

Weaknesses (CWE)

  • CWE-732 — Incorrect Permission Assignment for Critical Resource

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.6CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:Hredhat
CVSS 3.1HIGH 7.6CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:HNVD · secalert@redhat.com (Secondary)

European references

Affected products

ProductVersions
openshiftaffected 4.16
Red Hat · Red Hat OpenShift Container Platform 4.12unaffected v4.12.0-202506062300.p0.gb870fc6.assembly.stream.el8 < *
Red Hat · Red Hat OpenShift Container Platform 4.13unaffected v4.13.0-202507061330.p0.g9abb220.assembly.stream.el8 < *
Red Hat · Red Hat OpenShift Container Platform 4.14unaffected v4.14.0-202506112307.p0.g700dc11.assembly.stream.el8 < *
Red Hat · Red Hat OpenShift Container Platform 4.16unaffected v4.16.0-202506062300.p0.gd26f300.assembly.stream.el9 < *
Red Hat · Red Hat OpenShift Container Platform 4.17unaffected v4.17.0-202507011904.p0.g2b2ba3b.assembly.stream.el9 < *
Red Hat · Red Hat OpenShift Container Platform 4.18unaffected v4.18.0-202506062012.p0.g0a6f6eb.assembly.stream.el9 < *
Red Hat · Red Hat OpenShift Container Platform 4.19unaffected v4.19.0-202506111842.p0.g68ae0c2.assembly.stream.el9 < *
Red Hat · Red Hat OpenShift Container Platform 4.19unaffected v4.19.0-202506111842.p0.g088dcaf.assembly.stream.el9 < *
Red Hat · Red Hat OpenShift Container Platform 4.19unaffected v4.19.0-202506111842.p0.g20a9ba5.assembly.stream.el9 < *
Red Hat · Red Hat OpenShift Container Platform 4.19unaffected v4.19.0-202506111842.p0.g0ae129b.assembly.stream.el9 < *
Red Hat · Red Hat OpenShift Container Platform 4.19unaffected v4.19.0-202506111842.p0.g98ae311.assembly.stream.el9 < *
Red Hat · Red Hat OpenShift Container Platform 4.19unaffected v4.19.0-202506111842.p0.gb09f487.assembly.stream.el9 < *
Red Hat · Red Hat OpenShift Container Platform 4.19unaffected v4.19.0-202506181037.p0.g686fdac.assembly.stream.el9 < *
Red Hat · Red Hat OpenShift Container Platform 4.19unaffected v4.19.0-202506111842.p0.g85353bb.assembly.stream.el9 < *
Red Hat · Red Hat OpenShift Container Platform 4.19unaffected v4.19.0-202506111842.p0.g5076dbc.assembly.stream.el9 < *
Red Hat · Red Hat OpenShift Container Platform 4.19unaffected v4.19.0-202506111842.p0.g0bee2d9.assembly.stream.el9 < *
Red Hat · Red Hat OpenShift Container Platform 4.19unaffected v4.19.0-202506111842.p0.g0bee2d9.assembly.stream.el9 < *
Red Hat · Red Hat OpenShift Container Platform 4.19unaffected v4.19.0-202506111842.p0.g037a0e7.assembly.stream.el9 < *
Red Hat · Red Hat OpenShift Container Platform 4.19unaffected v4.19.0-202506111842.p0.ge302702.assembly.stream.el9 < *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD