Vulnerability in Red Hat Openshift Container Platform 4.12
CVE-2024-7387
A flaw was found in openshift/builder. This vulnerability allows command injection via path traversal, where a malicious user can execute arbitrary commands on the OpenShift node running the builder container. When using the “Docker” strategy, executable files inside the privileged build container can be overridden using the `spec.source.secrets.secret.destinationDir` attribute of the `BuildConfig` definition. An attacker running code in a privileged container could escalate their permissions on the node running the container.
EPSS: 0.023 (81.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H.
Affected products
- Red Hat Openshift Container Platform 4.12 — versions v4.12.0-202409121032.p1.g609473f.assembly.stream.el8
- Red Hat Openshift Container Platform 4.13 — versions v4.13.0-202409120505.p1.g2c7e99d.assembly.stream.el8
- Red Hat Openshift Container Platform 4.14 — versions v4.14.0-202409111409.p1.g52565ca.assembly.stream.el8
- Red Hat Openshift Container Platform 4.15 — versions v4.15.0-202409101936.p1.ge7749a3.assembly.stream.el8
- Red Hat Openshift Container Platform 4.16 — versions v4.16.0-202409101737.p1.gfee4b58.assembly.stream.el9
- Red Hat Openshift Container Platform 4.17 — versions v4.17.0-202409122005.p1.gcfcf3bd.assembly.stream.el9
- Red Hat Openshift Container Platform 4.18 — versions v4.18.0-202501230001.p0.g088dcaf.assembly.stream.el9, v4.18.0-202501230001.p0.gd4fb1b6.assembly.stream.el9, v4.18.0-202501230001.p0.g11ced00.assembly.stream.el9
Weakness classification (CWE)
Public proof-of-concept exploits
References
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
- secalert@redhat.com (x_refsource_REDHAT, vdb-entry)
- secalert@redhat.com (x_refsource_REDHAT, issue-tracking)
- secalert@redhat.com
- secalert@redhat.com
Frequently asked questions
- What is CVE-2024-7387?
- CVE-2024-7387 is a critical-severity vulnerability in Red Hat Openshift Container Platform 4.12, classified under CWE-250. CVSS score: 9.1/10. Published 2024-09-17.
- How severe is CVE-2024-7387?
- Critical severity. CVSS v3 base score is 9.1 out of 10.
- Is CVE-2024-7387 known to be exploited?
- 6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.