NetSight
critical9.1

CVE-2024-7387

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

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/openshift/builder<= 4.0.0none recorded

Weakness classification

References