CVE-2024-7387: builder · Execution with Unnecessary Privileges
Affects builderSource CVE Database V5
Not known to be exploited · CVSS 9.1 Critical : upgrade to 4.17.0 or 4.15.33 as a priority.
Data as of 26 Oct 2026, 11:07 UTC
- EPSS
- 2.3% chance of exploitation in 30 days – higher than 83% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.17.0, 4.15.33
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Sep 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade openshift/builder to 4.17.0 or 4.15.33.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubopenshift/builderpkg:github/openshift/builderOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Red Hat has released official security updates for OpenShift Container Platform versions 4.15.33 and 4.17.0 that address CVE-2024-7387. Users should upgrade their OpenShift clusters to these or later versions using the OpenShift CLI (oc) or web console as per the vendor's upgrade instructions. The vendor manages remediation for these container images and provides detailed guidance in the referenced advisories and release notes. No alternative mitigations are indicated; applying the official updates is required to remediate the vulnerability.
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.
References
- access.redhat.com/errata/RHSA-2024:3718 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:6685 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:6687 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:6689 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:6691 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:6705 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2024-7387 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2302259 (opens in a new tab)
- github.com/openshift/builder/commit/0b62633adfa2836465202bc851885e078ec888d1 (opens in a new tab)
- stuxxn.github.io/advisory/2024/10/02/openshift-build-docker-priv-esc.html (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:6122 (opens in a new tab)