{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-7387","published":"2024-09-17T00:15:52.757000Z","last_modified":"2026-08-11T16:17:24.387000Z","status":"Deferred","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","source":"secalert@redhat.com","primary":false},"auth":true,"cwes":["CWE-250"],"cpes":[],"cpes_truncated":false,"vendors":["redhat"],"products":["redhat/red-hat-openshift-container-platform-4.12"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"epss":{"score":0.03449,"percentile":0.89782,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-qqv8-ph7f-h3f7","ecosystem":"Go","name":"github.com/openshift/builder","purl":"pkg:golang/github.com/openshift/builder","ranges":[{"introduced":"0","last_affected":"4.0.0"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2024-3129","ecosystem":"Go","name":"github.com/openshift/builder","purl":"pkg:golang/github.com/openshift/builder","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":55,"links":{"html_es":"/es/cve/CVE-2024-7387/","html_en":"/en/cve/CVE-2024-7387/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-7387","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-7387"},"untrusted":{"vendor_name":"Red Hat","product_name":"Red Hat OpenShift Container Platform 4.12","desc_en":"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":[{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat OpenShift Container Platform 4.12","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat OpenShift Container Platform 4.13","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat OpenShift Container Platform 4.14","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat OpenShift Container Platform 4.15","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat OpenShift Container Platform 4.16","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat OpenShift Container Platform 4.17","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat OpenShift Container Platform 4.18","versions":[]}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:3718","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2024:6122","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2024:6685","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2024:6687","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2024:6689","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2024:6691","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2024:6705","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2024-7387","tags":[]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2302259","tags":[]},{"url":"https://github.com/openshift/builder/commit/0b62633adfa2836465202bc851885e078ec888d1","tags":[]},{"url":"https://stuxxn.github.io/advisory/2024/10/02/openshift-build-docker-priv-esc.html","tags":[]}]}}