Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2024-7387

Openshift/builder: path traversal allows command injection in privileged buildcontainer using docker build strategy
Back to all
CVE

CVE-2024-7387

Openshift/builder: path traversal allows command injection in privileged buildcontainer using docker build strategy

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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.1
-
3.1
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://catalog.redhat.com/software/containers/, 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, https://access.redhat.com/errata/RHSA-2024:6691, https://access.redhat.com/errata/RHSA-2024:6705, https://access.redhat.com/security/cve/CVE-2024-7387, https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7387.json, https://nvd.nist.gov/vuln/detail/CVE-2024-7387, https://stuxxn.github.io/advisory/2024/10/02/openshift-build-docker-priv-esc.html, https://bugzilla.redhat.com/show_bug.cgi?id=2302259, https://github.com/openshift/builder/commit/0b62633adfa2836465202bc851885e078ec888d1, https://github.com/openshift/builder

Severity

9.1

CVSS Score
0
10

Basic Information

Base CVSS
9.1
EPSS Probability
0.02301%
EPSS Percentile
0.8199%
Introduced Version
0
Fix Available
0b62633adfa2836465202bc851885e078ec888d1

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading