CVE-2024-7387
A public proof of concept exists; no exploitation attested.
- Published2024-09-17
- WeaknessCWE-250
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2024-09-1700:15CVE publishedNVD
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 4.0 | ≤ 4.0.0 | no fix published | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA100 products
As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- openshift/builderother versions: not affected
https://github.com/openshift/builder
Affected- < 0b62633adfa2836465202bc851885e078ec888d1fixed in 0b62633adfa2836465202bc851885e078ec888d1git
- Red Hat OpenShift Container Platform 4.12other versions: affected
package openshift4/ose-docker-builderhttps://catalog.redhat.com/software/containers/
Not affected ≥ v4.12.0-202409121032.p1.g609473f.assembly.stream.el8
- Red Hat OpenShift Container Platform 4.13other versions: affected
package openshift4/ose-docker-builderhttps://catalog.redhat.com/software/containers/
Not affected ≥ v4.13.0-202409120505.p1.g2c7e99d.assembly.stream.el8
- Red Hat OpenShift Container Platform 4.14other versions: affected
package openshift4/ose-docker-builderhttps://catalog.redhat.com/software/containers/
Not affected ≥ v4.14.0-202409111409.p1.g52565ca.assembly.stream.el8
- Red Hat OpenShift Container Platform 4.15other versions: affected
package openshift4/ose-docker-builderhttps://catalog.redhat.com/software/containers/
Not affected ≥ v4.15.0-202409101936.p1.ge7749a3.assembly.stream.el8
- Red Hat OpenShift Container Platform 4.16other versions: affected
package openshift4/ose-docker-builder-rhel9https://catalog.redhat.com/software/containers/
Not affected ≥ v4.16.0-202409101737.p1.gfee4b58.assembly.stream.el9
94 more products in the CVE record.
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-08-11
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Vendor advisories
openshift/builder: Path traversal allows command injection in privileged BuildContainer using docker build strategy
Red Hat Security Advisory: OpenShift Container Platform 4.18.1 bug fix and security update
Red Hat Security Advisory: OpenShift Container Platform 4.17.0 bug fix and security update
Red Hat Security Advisory: OpenShift Container Platform 4.12.66 security update
Red Hat Security Advisory: OpenShift Container Platform 4.15.33 bug fix and security update
Red Hat Security Advisory: OpenShift Container Platform 4.16.13 bug fix and security update
2 more advisories
Fix
- Vendor fix Red Hat Product Security RHSA-2024:6122 · 662 productsFor OpenShift Container Platform 4.18 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.18/release_notes/o…
- Vendor fix Red Hat Product Security RHSA-2024:3718 · 4 productsFor OpenShift Container Platform 4.17 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.17/release_notes/o…
- Vendor fix Red Hat Product Security RHSA-2024:6705 · 2 productsFor OpenShift Container Platform 4.12 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.12/release_notes/o…
- Vendor fix Red Hat Product Security RHSA-2024:6685 · 4 productsFor OpenShift Container Platform 4.15 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.15/release_notes/o…
- Vendor fix Red Hat Product Security RHSA-2024:6687 · 4 productsFor OpenShift Container Platform 4.16 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.16/release_notes/o…
- Vendor fix Red Hat Product Security RHSA-2024:6689 · 4 productsFor OpenShift Container Platform 4.14 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.14/release_notes/o…
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2024-10-07
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionpoc2024-10-07
- CNACVSS 3.19.1known since 2026-10-23
- CNAweakness (CWE)CWE-250known since 2026-10-23
- FIRST EPSSEPSS score2.3 %2026-11-08
- OSVaffected packages—
- GitHub AdvisoriesadvisoryMODERATE2024-09-17
Identifiers
- EUVD-2024-2857same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-qqv8-ph7f-h3f7same flawGitHub Advisory Database · CC-BY-4.0
- GO-2024-3129same flawGo Vulnerability Database · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- Published
- 2024-09-17
- Last Modified
- 2026-08-11
- NVD status
- Deferred
- GitHub Advisory
- GHSA-qqv8-ph7f-h3f7
Frequently asked questions
What is CVE-2024-7387?
Is CVE-2024-7387 actively exploited?
What is the CVSS score for CVE-2024-7387?
Running openshift/builder? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-qqv8-ph7f-h3f7
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0