# CVE-2024-45496: Openshift-controller-manager: elevated build pods can lead to node compromise in openshift

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.9
- **CVSS:** 9.9 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.57% (percentile 76, 2026-11-26)
- **CWE:** CWE-269
- **Aliases:** GHSA-j8gh-87rx-c7w9, GO-2024-3128
- **Published:** 2024-09-16T23:58:59.399Z
- **Modified:** 2026-08-11T16:17:18.307Z

## Who should check

- Projects that depend on Go package github.com/openshift/openshift-controller-manager (\< 0.0.0-alpha.0.0.20240911)
- Anyone running openshift-controller-manager \>= 4.12.0, \<= 4.18.0
- Anyone running Red Hat OpenShift Container Platform 4.12 all versions
- Anyone running Red Hat OpenShift Container Platform 4.13 all versions
- Anyone running Red Hat OpenShift Container Platform 4.14 all versions
- Anyone running Red Hat OpenShift Container Platform 4.15 all versions
- Anyone running Red Hat OpenShift Container Platform 4.16 all versions
- Anyone running Red Hat OpenShift Container Platform 4.17 all versions

## Description

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.

## Affected and fixed versions

- Go `github.com/openshift/openshift-controller-manager`: affected \< 0.0.0-alpha.0.0.20240911; fixed 0.0.0-alpha.0.0.20240911 (osv)
- openshift-controller-manager: \>= 4.12.0, \<= 4.18.0 (cvelist)
- Red Hat OpenShift Container Platform 4.12: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.13: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.14: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.15: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.16: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.17: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)
- Red Hat OpenShift Container Platform 4.18: all versions (cvelist)

## Mitigation

- Upgrade github.com/openshift/openshift-controller-manager to 0.0.0-alpha.0.0.20240911 or later.
- Vendor workaround: 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

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-45496. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-45496.md
Affected: github.com/openshift/openshift-controller-manager < 0.0.0-alpha.0.0.20240911
Fixed in: 0.0.0-alpha.0.0.20240911

Steps:
1. Search this machine and project for github.com/openshift/openshift-controller-manager (Go), openshift-controller-manager, Red Hat OpenShift Container Platform 4.12, Red Hat OpenShift Container Platform 4.13, Red Hat OpenShift Container Platform 4.14, Red Hat OpenShift Container Platform 4.15: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-45496 being exploited?

There is no confirmed exploitation: CVE-2024-45496 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.57% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-45496?

Critical: CVSS 9.9 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2024-45496?

github.com/openshift/openshift-controller-manager \< 0.0.0-alpha.0.0.20240911.

### Is there a fix for CVE-2024-45496?

Yes. Fixed in 0.0.0-alpha.0.0.20240911. Upgrade github.com/openshift/openshift-controller-manager to 0.0.0-alpha.0.0.20240911 or later. Vendor workaround: 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

### How do I check if I'm affected by CVE-2024-45496?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2024:3718>
- vendor: <https://access.redhat.com/errata/RHSA-2024:6122>
- vendor: <https://access.redhat.com/errata/RHSA-2024:6685>
- vendor: <https://access.redhat.com/errata/RHSA-2024:6687>
- vendor: <https://access.redhat.com/errata/RHSA-2024:6689>
- vendor: <https://access.redhat.com/errata/RHSA-2024:6691>
- vendor: <https://access.redhat.com/errata/RHSA-2024:6705>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-45496>
- vendor: <https://github.com/advisories/GHSA-j8gh-87rx-c7w9>
- patch: <https://github.com/openshift/openshift-controller-manager/commit/3af3628103f9ddc3b825e6e5243ec58e85311046>
- other: <https://access.redhat.com/security/cve/CVE-2024-45496>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2308661>
- other: <https://github.com/openshift/openshift-controller-manager>
- other: <https://pkg.go.dev/vuln/GO-2024-3128>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-45496>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-j8gh-87rx-c7w9> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2024-3128> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-45496> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-45496>
