{"id":"CVE-2024-45496","published":"2024-09-16T23:58:59Z","modified":"2026-08-11T14:55:38Z","title":"Openshift-controller-manager: elevated build pods can lead to node compromise in openshift","vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.12","tier":"tail","description":{"text":"A flaw was found in OpenShift. This issue occurs due to the misuse of elevated privileges in the OpenShift Container Platform's build process. During the build initialization step, the git-clone container is run with a privileged security context, allowing unrestricted access to the node. An attacker with developer-level access can provide a crafted .gitconfig file containing commands executed during the cloning process, leading to arbitrary command execution on the worker node. An attacker running code in a privileged container could escalate their permissions on the node running the container.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01016,"percentile":0.64118,"provenance":"source"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:3718","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6122","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6685","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6687","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6689","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6691","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2024:6705","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-45496","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2308661","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":19.8,"factors":[{"name":"EPSS percentile","points":12.82},{"name":"CVSS severity","points":6.93}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":[">= 4.12.0, <= 4.18.0"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.12","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.13","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.14","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.15","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.16","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.17","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.18","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.18","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.18","versions":["all versions"]}],"workarounds":{"items":["Cluster admins can follow the instructions in \"Securing Builds by Strategy\" to block use of the \"Docker\" and “Source” build strategies on a cluster, or restrict the use to a set of highly trusted users, until the cluster is able to be upgraded. https://docs.openshift.com/container-platform/4.16/cicd/builds/securing-builds-by-strategy.html"],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-09-17T15:05:05.525825Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/openshift/openshift-controller-manager","vulnerableRanges":["<0.0.0-alpha.0.0.20240911","all versions"],"patched":["0.0.0-alpha.0.0.20240911"],"from":["GHSA-j8gh-87rx-c7w9","GO-2024-3128"],"provenance":"source"}],"summary":{"text":"A flaw in Red Hat OpenShift Container Platform 4.12's build process, in the openshift-controller-manager component, runs the git-clone container during build initialization with a privileged security context that grants unrestricted access to the node. An attacker with developer-level access who can supply a crafted .gitconfig file containing commands can have those commands executed during cloning, resulting in arbitrary command execution on the worker node, and an attacker already running code in a privileged container can use the flaw to escalate permissions on that node.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:14:40Z"},"euvd":{"id":"EUVD-2024-2818","exploited":false,"provenance":"source"}}