CVE-2024-45496: OpenShift Controller Manager Improper Privilege Management
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.
Published Sep 17, 2024 · Updated Jan 9, 2025
Affected packages
github.com/openshift/openshift-controller-manager
- Ecosystem
- Go
- Affected
- < 0.0.0-alpha.0.0.20240911
- Fixed in
- 0.0.0-alpha.0.0.20240911
- Check
go list -m github.com/openshift/openshift-controller-manager
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-45496
- https://access.redhat.com/security/cve/CVE-2024-45496
- https://bugzilla.redhat.com/show_bug.cgi?id=2308661
- https://github.com/openshift/openshift-controller-manager/commit/3af3628103f9ddc3b825e6e5243ec58e85311046
- https://pkg.go.dev/vuln/GO-2024-3128
- https://access.redhat.com/errata/RHSA-2024:6691
- https://access.redhat.com/errata/RHSA-2024:6687
- https://access.redhat.com/errata/RHSA-2024:6689
- https://access.redhat.com/errata/RHSA-2024:6685
- https://access.redhat.com/errata/RHSA-2024:6705
- https://access.redhat.com/errata/RHSA-2024:3718
- https://github.com/advisories/GHSA-j8gh-87rx-c7w9
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
