Paper/Archive/CVE-2024-45496

CVE-2024-45496

Red Hat Red Hat OpenShift Container Platform 4.12 — Openshift-controller-manager: elevated build pods can lead to node compromise in openshift

Description · from the CVE record

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

ProductAffectedFixed inSource
openshift-controller-manager4.12.0 – 4.18.0–CNA
Red Hat OpenShift Container Platform 4.12see advisoryv4.12.0-202409131137.p1.g0b1971a.assembly.stream.el8CNA
Red Hat OpenShift Container Platform 4.13see advisoryv4.13.0-202409130707.p1.gb75d499.assembly.stream.el8CNA
Red Hat OpenShift Container Platform 4.14see advisoryv4.14.0-202409130708.p1.g9020ea1.assembly.stream.el8CNA
Red Hat OpenShift Container Platform 4.15see advisoryv4.15.0-202409131835.p1.gbe9d673.assembly.stream.el9CNA
Red Hat OpenShift Container Platform 4.16see advisoryv4.16.0-202409130937.p1.g5dcfc99.assembly.stream.el9CNA
Red Hat OpenShift Container Platform 4.17see advisoryv4.17.0-202409182235.p0.g7682a61.assembly.stream.el9CNA
Red Hat OpenShift Container Platform 4.18see advisoryv4.18.0-202501230001.p0.g088dcaf.assembly.stream.el9CNA
Red Hat OpenShift Container Platform 4.18see advisoryv4.18.0-202501230001.p0.gd4fb1b6.assembly.stream.el9CNA
Red Hat OpenShift Container Platform 4.18see advisoryv4.18.0-202501230001.p0.g11ced00.assembly.stream.el9CNA
Red Hat OpenShift Container Platform 4.18see advisoryv4.18.0-202501230001.p0.gf648c78.assembly.stream.el9CNA
Red Hat OpenShift Container Platform 4.18see advisoryv4.18.0-202501230001.p0.g24a6532.assembly.stream.el9CNA

Scores by source

redhat (CNA)9.9CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

advisoryaccess.redhat.com/errata/RHSA-2024:3718advisoryaccess.redhat.com/errata/RHSA-2024:6122advisoryaccess.redhat.com/errata/RHSA-2024:6685advisoryaccess.redhat.com/errata/RHSA-2024:6687advisoryaccess.redhat.com/errata/RHSA-2024:6689advisoryaccess.redhat.com/errata/RHSA-2024:6691advisoryaccess.redhat.com/errata/RHSA-2024:6705refaccess.redhat.com/security/cve/CVE-2024-45496refbugzilla.redhat.com/show_bug.cgi?id=2308661