CVE-2024-7387
Openshift/builder: path traversal allows command injection in privileged buildcontainer using docker build strategy
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
Red Hat OpenShift Container Platform release 4.16.13 is now available with updates to packages and images that fix several bugs and add enhancements. Issues addressed include code execution and traversal vulnerabilities.
CVSS Scores
SSVC
- Decision:Attend
Timeline
- 2024-08-01 CVE Reserved
- 2024-09-16 CVE Published
- 2025-01-09 CVE Updated
- 2025-04-22 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-250: Execution with Unnecessary Privileges
CAPEC
References (9)
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://access.redhat.com/security/cve/CVE-2024-7387 | 2024-09-17 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2302259 | 2024-09-17 | |
https://access.redhat.com/errata/RHSA-2024:3718 | 2025-01-09 | |
https://access.redhat.com/errata/RHSA-2024:6685 | 2025-01-09 | |
https://access.redhat.com/errata/RHSA-2024:6687 | 2025-01-09 | |
https://access.redhat.com/errata/RHSA-2024:6689 | 2025-01-09 | |
https://access.redhat.com/errata/RHSA-2024:6691 | 2025-01-09 | |
https://access.redhat.com/errata/RHSA-2024:6705 | 2025-01-09 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Redhat Search vendor "Redhat" | Openshift Search vendor "Redhat" for product "Openshift" | * | - |
Affected
| ||||||
Redhat Search vendor "Redhat" | Openshift Search vendor "Redhat" for product "Openshift" | * | - |
Affected
|