CVE-2024-7387

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.

SeverityCritical
CVSS9.1
Exploit probability—
ProductGithub.com/openshift/builder
PublishedSep 17, 2024
First seenSep 17, 2024
Weakness typeCWE-250CWE-250

How to fix

Affected products

ProductAffected versionsFixed in
github.com/openshift/builderGov ≤ 4.0.0, No range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.