cve.bz

CVE-2024-7387

9.1 criticalEPSS 2.3%

Critical (9.1). EPSS 2.3% chance of exploitation in the next 30 days.

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

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
EPSS
2.3% chance of exploitation in the next 30 days; higher than 83% of CVEs (scores of 2026-10-31)
CWE
CWE-250
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qqv8-ph7f-h3f7Gogithub.com/openshift/builder<=4.0.0no fix published
GO-2024-3129Gogithub.com/openshift/builderall versionsno fix published

References

Check your stackJSON