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.
Workaround:
The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.
Link | Tags |
---|---|
https://access.redhat.com/errata/RHSA-2024:3718 | vendor advisory |
https://access.redhat.com/errata/RHSA-2024:6685 | vendor advisory |
https://access.redhat.com/errata/RHSA-2024:6687 | vendor advisory |
https://access.redhat.com/errata/RHSA-2024:6689 | vendor advisory |
https://access.redhat.com/errata/RHSA-2024:6691 | vendor advisory |
https://access.redhat.com/errata/RHSA-2024:6705 | vendor advisory |
https://access.redhat.com/security/cve/CVE-2024-45496 | vdb entry |
https://bugzilla.redhat.com/show_bug.cgi?id=2308661 | issue tracking |