Vulnerability · Published Dec 31, 2024 · Assigned by redhat
CVE-2024-45497Openshift-api: openshift-controller-manager/build: build process in openshift allows overwriting of node pull credentials
High 7.6
In plain English
A high-severity incorrect permission assignment in openshift. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities).
Official 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 products (as reported)
Weakness: CWE-732 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
References
- RHSA-2025:10270 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:10294 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:10747 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:9269 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:9278 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:9562 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:9759 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:9765 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-45497 vdb-entry, x_refsource_REDHAT
- RHBZ#2308673 issue-tracking, x_refsource_REDHAT