CVE Database
/

CVE-2024-7387

Back to search

CVE-2024-7387

Published: Sep 16, 2024

Modified: Mar 24, 2026

PUBLISHED

CVSS v3.1

9.1

CRITICAL

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.

VendorProductVersions

Unknown

openshift/builder

affected
0 - < 0b62633adfa2836465202bc851885e078ec888d1

Red Hat

Red Hat OpenShift Container Platform 4.12

unaffected
v4.12.0-202409121032.p1.g609473f.assembly.stream.el8 - < *

Red Hat

Red Hat OpenShift Container Platform 4.13

unaffected
v4.13.0-202409120505.p1.g2c7e99d.assembly.stream.el8 - < *

Red Hat

Red Hat OpenShift Container Platform 4.14

unaffected
v4.14.0-202409111409.p1.g52565ca.assembly.stream.el8 - < *

Red Hat

Red Hat OpenShift Container Platform 4.15

unaffected
v4.15.0-202409101936.p1.ge7749a3.assembly.stream.el8 - < *

Red Hat

Red Hat OpenShift Container Platform 4.16

unaffected
v4.16.0-202409101737.p1.gfee4b58.assembly.stream.el9 - < *

Red Hat

Red Hat OpenShift Container Platform 4.17

unaffected
v4.17.0-202409122005.p1.gcfcf3bd.assembly.stream.el9 - < *

Weaknesses (CWE)

CVSS v3.1 Details

CVSS v3.1 Vector

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Attack Vector

Network

Attack Complexity

Low

Privileges Required

High

User Interaction

None

Scope

Changed

Confidentiality

High

Integrity

High

Availability

High

References

RHSA-2024:3718
vendor-advisory
x_refsource_REDHAT
RHSA-2024:6685
vendor-advisory
x_refsource_REDHAT
RHSA-2024:6687
vendor-advisory
x_refsource_REDHAT
RHSA-2024:6689
vendor-advisory
x_refsource_REDHAT
RHSA-2024:6691
vendor-advisory
x_refsource_REDHAT
RHSA-2024:6705
vendor-advisory
x_refsource_REDHAT
RHBZ#2302259
issue-tracking
x_refsource_REDHAT

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now