CVE-2024-9675

GHSA-586p-749j-fhwp · published 9 Oct 2024 · updated 4 Nov 2026

Buildah: buildah allows arbitrary directory mount

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in github.com/containers/buildah 1.38.0 and 1.38.0.

A vulnerability was found in Buildah. Cache mounts do not properly validate that user-specified paths for the cache are within our cache directory, allowing a `RUN` instruction in a Container file to mount an arbitrary directory from the host (read/write) into the container as long as those files can be accessed by the user running Buildah.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Red HatEnterprise Linux
Red HatOpenShift Container Platform
Red HatOpenShift Developer Tools and Services
Red HatQuay
buildah_projectbuildah
redhatenterprise_linux_for_ibm_z_systems_eus=8.8_s390x, =9.0_s390x, =9.2_s390x, =9.4_s390x
redhatenterprise_linux_for_power_little_endian=8.0_ppc64le, =9.0_ppc64le
redhatenterprise_linux_for_power_little_endian_eus=8.8_ppc64le, =9.0_ppc64le, =9.2_ppc64le, =9.4_ppc64le
redhatenterprise_linux_server_aus=8.6, =9.2, =9.4
redhatenterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions=8.6_ppc64le, =8.8_ppc64le, =9.0_ppc64le, =9.2_ppc64le, =9.4_ppc64le
redhatenterprise_linux_server_tus=8.6, =8.8
redhatenterprise_linux_update_services_for_sap_solutions=8.6, =9.0, =9.2, =9.4, =8.8
redhatopenshift_container_platform=4.13, =4.14, =4.15, =4.16, =4.17
redhatenterprise_linux=8.0, =9.0
redhatenterprise_linux_eus=8.8, =9.0, =9.2, =9.4
redhatenterprise_linux_for_arm_64=8.0_aarch64, =9.0_aarch64
redhatenterprise_linux_for_arm_64_eus=8.8_aarch64, =9.0_aarch64, =9.2_aarch64, =9.4_aarch64
redhatenterprise_linux_for_ibm_z_systems=8.0_s390x, =9.0_s390x
go: github.com/containers/buildah<1.38.01.38.0
<1.38.01.38.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Red Hat, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-9675 severity on Zeptric[![CVE-2024-9675](https://zeptric.io/badge/cve/CVE-2024-9675.svg)](https://zeptric.io/cve/CVE-2024-9675)