What’s Vulnerable › Vulnerabilities
CVE-2024-45496: Openshift-controller-manager: elevated build pods can lead to node compromise in openshift
- Severity: critical (CVSS 9.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-09-17 · updated 2026-08-11
- Weakness: CWE-269
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 products
- Red Hat OpenShift Container Platform 4.18: all versions — fixed in 418.94.202502100215-0, v4.18.0-202412170221.p0.ga26fffe.assembly.stream.el9, v4.18.0-202412170221.p0.gcfbae04.assembly.stream.el9, v4.18.0-202412200107.p0.g2957f13.assembly.stream.el9, v4.18.0-202501201133.p0.g4674e81.assembly.stream.el9, v4.18.0-202501230001.p0.g00882ba.assembly.stream.el9
- Red Hat OpenShift Container Platform 4.12: all versions — fixed in v4.12.0-202409131137.p1.g0b1971a.assembly.stream.el8
- Red Hat OpenShift Container Platform 4.13: all versions — fixed in v4.13.0-202409130707.p1.gb75d499.assembly.stream.el8
- Red Hat OpenShift Container Platform 4.14: all versions — fixed in v4.14.0-202409130708.p1.g9020ea1.assembly.stream.el8
- Red Hat OpenShift Container Platform 4.15: all versions — fixed in v4.15.0-202409131835.p1.gbe9d673.assembly.stream.el9
- Red Hat OpenShift Container Platform 4.16: all versions — fixed in v4.16.0-202409130937.p1.g5dcfc99.assembly.stream.el9
- Red Hat OpenShift Container Platform 4.17: all versions — fixed in v4.17.0-202409182235.p0.g7682a61.assembly.stream.el9
How to fix
Upgrade to a fixed version: Red Hat OpenShift Container Platform 4.18 418.94.202502100215-0, v4.18.0-202412170221.p0.ga26fffe.assembly.stream.el9, v4.18.0-202412170221.p0.gcfbae04.assembly.stream.el9, v4.18.0-202412200107.p0.g2957f13.assembly.stream.el9; Red Hat OpenShift Container Platform 4.12 v4.12.0-202409131137.p1.g0b1971a.assembly.stream.el8; Red Hat OpenShift Container Platform 4.13 v4.13.0-202409130707.p1.gb75d499.assembly.stream.el8; Red Hat OpenShift Container Platform 4.14 v4.14.0-202409130708.p1.g9020ea1.assembly.stream.el8; Red Hat OpenShift Container Platform 4.15 v4.15.0-202409131835.p1.gbe9d673.assembly.stream.el9; Red Hat OpenShift Container Platform 4.16 v4.16.0-202409130937.p1.g5dcfc99.assembly.stream.el9; Red Hat OpenShift Container Platform 4.17 v4.17.0-202409182235.p0.g7682a61.assembly.stream.el9. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHSA-2024:3718
- https://access.redhat.com/errata/RHSA-2024:6122
- https://access.redhat.com/errata/RHSA-2024:6685
- https://access.redhat.com/errata/RHSA-2024:6687
- https://access.redhat.com/errata/RHSA-2024:6689
- https://access.redhat.com/errata/RHSA-2024:6691
- https://access.redhat.com/errata/RHSA-2024:6705
- https://access.redhat.com/security/cve/CVE-2024-45496
- https://bugzilla.redhat.com/show_bug.cgi?id=2308661
Get alerted when CVE-2024-45496 or the next vulnerability affects your stack