Vulnerability · Published Sep 16, 2024 · Assigned by redhat
CVE-2024-45496Openshift-controller-manager: elevated build pods can lead to node compromise in openshift
Critical 9.9
In plain English
A critical-severity privilege mismanagement in openshift-controller-manager. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 63% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/openshift/openshift-controller-manager | 0.0.0-alpha.0.0.20240911 | GHSA-j8gh-87rx-c7w9 |
| Go | github.com/openshift/openshift-controller-manager | no fix listed | GO-2024-3128 |
Affected products (as reported)
Weakness: CWE-269 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
References
- RHSA-2024:3718 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6122 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6685 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6687 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6689 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6691 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6705 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-45496 vdb-entry, x_refsource_REDHAT
- RHBZ#2308661 issue-tracking, x_refsource_REDHAT