CVE-2024-7387
Red Hat Red Hat OpenShift Container Platform 4.12 — Openshift/builder: path traversal allows command injection in privileged buildcontainer using docker build strategy
Description · from the CVE record
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.
Affected
ProductAffectedFixed inSource
openshift/builder< 0b62633adfa2836465202bc851885e078ec888d10b62633adfa2836465202bc851885e078ec888d1CNA
Red Hat OpenShift Container Platform 4.12see advisoryv4.12.0-202409121032.p1.g609473f.assembly.stream.el8CNA
Red Hat OpenShift Container Platform 4.13see advisoryv4.13.0-202409120505.p1.g2c7e99d.assembly.stream.el8CNA
Red Hat OpenShift Container Platform 4.14see advisoryv4.14.0-202409111409.p1.g52565ca.assembly.stream.el8CNA
Red Hat OpenShift Container Platform 4.15see advisoryv4.15.0-202409101936.p1.ge7749a3.assembly.stream.el8CNA
Red Hat OpenShift Container Platform 4.16see advisoryv4.16.0-202409101737.p1.gfee4b58.assembly.stream.el9CNA
Red Hat OpenShift Container Platform 4.17see advisoryv4.17.0-202409122005.p1.gcfcf3bd.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.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: total