GitHub Advisoryadvisory · Go
GHSA-j8gh-87rx-c7w9 OpenShift Controller Manager Improper Privilege Management
MEDIUM
Official page ↗
- Aliases
- CVE-2024-45496
- Ecosystem
- Go
- Packages
- github.com/openshift/openshift-controller-manager
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
- Weaknesses
- CWE-269
- Reviewed
- 2024-09-17
Affected packages
• Go github.com/openshift/openshift-controller-manager: < 0.0.0-alpha.0.0.20240911 → fixed in 0.0.0-alpha.0.0.20240911
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.
Related
Alias · CVE (1)
- CVE-2024-45496 A flaw was found in OpenShift. vulnerability
Weakness · CWE (1)
- CWE-269 Improper Privilege Management weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-45496 advisory
- https://github.com/openshift/openshift-controller-manager/commit/3af3628103f9ddc3b825e6e5243ec58e85311046 web
- https://access.redhat.com/errata/RHSA-2024:3718 web
- https://access.redhat.com/errata/RHSA-2024:6685 web
- https://access.redhat.com/errata/RHSA-2024:6687 web
- https://access.redhat.com/errata/RHSA-2024:6689 web
- https://access.redhat.com/errata/RHSA-2024:6691 web
- https://access.redhat.com/errata/RHSA-2024:6705 web
- https://access.redhat.com/security/cve/CVE-2024-45496 web
- https://bugzilla.redhat.com/show_bug.cgi?id=2308661 web
- https://github.com/openshift/openshift-controller-manager package
- https://pkg.go.dev/vuln/GO-2024-3128 web