{"cve":"CVE-2024-7387","nvd":{"published":"2024-09-17T00:15:52.757","modified":"2026-08-11T16:17:24.387","status":"Deferred","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":9.1},"cwes":["CWE-250"],"references":["https://access.redhat.com/errata/RHSA-2024:3718","https://access.redhat.com/errata/RHSA-2024:6122","https://access.redhat.com/errata/RHSA-2024:6685","https://access.redhat.com/errata/RHSA-2024:6687","https://access.redhat.com/errata/RHSA-2024:6689"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:54:38.012257375+00:00"},"epss":{"cve":"CVE-2024-7387","score":0.02321,"percentile":0.83463,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-qqv8-ph7f-h3f7","url":"https://osv.dev/vulnerability/GHSA-qqv8-ph7f-h3f7","summary":"OpenShift Builder has a path traversal, allows command injection in privileged BuildContainer","modified":"2026-08-11T18:45:13.792080336Z","packages":[{"ecosystem":"Go","name":"github.com/openshift/builder","purl":"pkg:golang/github.com/openshift/builder","ranges":["<=4.0.0"],"fixed":[]}]},{"id":"GO-2024-3129","url":"https://osv.dev/vulnerability/GO-2024-3129","summary":"OpenShift Builder has a path traversal, allows command injection in privileged BuildContainer in github.com/openshift/builder","modified":"2026-03-03T04:55:47.945148Z","packages":[{"ecosystem":"Go","name":"github.com/openshift/builder","purl":"pkg:golang/github.com/openshift/builder","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}