Skip to main content

CVE-2024-7387 — Vulnerability in github.com/openshift/builder

MEDIUM

OpenShift Builder has a path traversal, allows command injection in privileged BuildContainer

Published September 17, 2024Updated August 11, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (3.45%). Schedule for your next planned update.

Does your project use an affected github.com/openshift/builder version?

Paste your go.sum to check it for CVE-2024-7387 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my go.sum

Summary

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.

Advisory Timeline

  • First published September 17, 2024 (800 days ago).
  • Last revised August 11, 2026 — 694 days after initial publication.

Affected Packages (1)

Affects 1 ecosystem: Go (1).

PackageFixed In
github.com/openshift/builder Go · Affected: All versionsRange-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

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

Frequently Asked Questions

What is CVE-2024-7387?
OpenShift Builder has a path traversal, allows command injection in privileged BuildContainer. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 9.1/10).
How do I check if my project is affected by CVE-2024-7387?
CVE-2024-7387 affects github.com/openshift/builder. It has a 3.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-7387 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.1

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
3.45%
EPSS percentile: 89.8

This places it in the top quartile of EPSS-scored vulnerabilities — 89.8% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.

Also Known As

GHSA-qqv8-ph7f-h3f7
GO-2024-3129

Related CVEs

  • CVE-2024-25131
    HIGH

    OpenShift Must Gather Operator Improper Input Validation vulnerability

  • CVE-2026-54167
    HIGH

    Pipelines-as-Code GitHub App token request can be redirected via untrusted Enterprise Host header

  • CVE-2025-14443
    HIGH

    openshift-apiserver: SSRF via Missing IP/Network-Range Validation in User-Supplied Image References

  • CVE-2024-25133
    HIGH

    OpenShift Hive RCE through AWS/Kubernetes client configuration leads to privilege escalation

  • CVE-2026-54765
    MEDIUM

    Traefik: Gateway HTTPRoute backendRef filters can leak backend context across routes sharing a Service:port

  • CVE-2024-45496
    MEDIUM

    OpenShift Controller Manager Improper Privilege Management

  • CVE-2026-88011
    MEDIUM

    Traefik: ForwardAuth identity spoofing via dot-form header alias

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my go.sum