CVE-2024-45496: OpenShift Controller Manager Improper Privilege Management
(updated )
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
- access.redhat.com/errata/RHSA-2024:3718
- access.redhat.com/errata/RHSA-2024:6685
- access.redhat.com/errata/RHSA-2024:6687
- access.redhat.com/errata/RHSA-2024:6689
- access.redhat.com/errata/RHSA-2024:6691
- access.redhat.com/errata/RHSA-2024:6705
- access.redhat.com/security/cve/CVE-2024-45496
- bugzilla.redhat.com/show_bug.cgi?id=2308661
- github.com/advisories/GHSA-j8gh-87rx-c7w9
- github.com/openshift/openshift-controller-manager
- github.com/openshift/openshift-controller-manager/commit/3af3628103f9ddc3b825e6e5243ec58e85311046
- nvd.nist.gov/vuln/detail/CVE-2024-45496
- pkg.go.dev/vuln/GO-2024-3128
Code Behaviors & Features
Detect and mitigate CVE-2024-45496 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →