Advisory

GHSA-qqv8-ph7f-h3f7

Also known as: CVE-2024-7387, GO-2024-3129

Summary

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

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-09-17 00:31 UTC
Modified
2026-08-11 18:45 UTC

Affected packages and fixes

github.com/openshift/builder

Go · All systems

Affected

  • introduced 0, last affected 4.0.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences