7.8
CWE
22
EPSS
0.044%
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2024-9675: Buildah: buildah allows arbitrary directory mount

First published: Wed Oct 09 2024(Updated: )

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.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
go/github.com/containers/buildah<1.38.0
1.38.0
Buildah
redhat openshift container platform=4.13
redhat openshift container platform=4.14
redhat openshift container platform=4.15
redhat openshift container platform=4.16
redhat openshift container platform=4.17
Red Hat Enterprise Linux=8.0
Red Hat Enterprise Linux=9.0
redhat enterprise Linux eus=8.8
redhat enterprise Linux eus=9.0
redhat enterprise Linux eus=9.2
redhat enterprise Linux eus=9.4
redhat enterprise Linux for arm 64=8.0_aarch64
redhat enterprise Linux for arm 64=9.0_aarch64
Red Hat Enterprise Linux for ARM64 EUS=8.8_aarch64
Red Hat Enterprise Linux for ARM64 EUS=9.0_aarch64
Red Hat Enterprise Linux for ARM64 EUS=9.2_aarch64
Red Hat Enterprise Linux for ARM64 EUS=9.4_aarch64
redhat enterprise Linux for ibm z systems=8.0_s390x
redhat enterprise Linux for ibm z systems=9.0_s390x
redhat enterprise Linux for ibm z systems eus=8.8_s390x
redhat enterprise Linux for ibm z systems eus=9.0_s390x
redhat enterprise Linux for ibm z systems eus=9.2_s390x
redhat enterprise Linux for ibm z systems eus=9.4_s390x
redhat enterprise Linux for power little endian=8.0_ppc64le
redhat enterprise Linux for power little endian=9.0_ppc64le
redhat enterprise Linux for power little endian eus=8.8_ppc64le
redhat enterprise Linux for power little endian eus=9.0_ppc64le
redhat enterprise Linux for power little endian eus=9.2_ppc64le
redhat enterprise Linux for power little endian eus=9.4_ppc64le
redhat enterprise Linux server aus=8.6
redhat enterprise Linux server aus=9.2
redhat enterprise Linux server aus=9.4
redhat enterprise Linux server for power little endian update services for sap solutions=8.6_ppc64le
redhat enterprise Linux server for power little endian update services for sap solutions=8.8_ppc64le
redhat enterprise Linux server for power little endian update services for sap solutions=9.0_ppc64le
redhat enterprise Linux server for power little endian update services for sap solutions=9.2_ppc64le
redhat enterprise Linux server for power little endian update services for sap solutions=9.4_ppc64le
redhat enterprise Linux server tus=8.6
redhat enterprise Linux server tus=8.8
Red Hat Enterprise Linux for SAP Solutions=8.6
Red Hat Enterprise Linux for SAP Solutions=8.8
Red Hat Enterprise Linux for SAP Solutions=9.0
Red Hat Enterprise Linux for SAP Solutions=9.2
Red Hat Enterprise Linux for SAP Solutions=9.4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-9675?

    CVE-2024-9675 is considered a critical severity vulnerability due to its potential exploitation allowing unauthorized access to sensitive file paths.

  • How do I fix CVE-2024-9675?

    To remediate CVE-2024-9675, update to Buildah version 1.38.0 or later which includes the necessary patches.

  • Which software is affected by CVE-2024-9675?

    CVE-2024-9675 affects Buildah and various versions of Red Hat OpenShift and Red Hat Enterprise Linux.

  • What could happen if CVE-2024-9675 is exploited?

    Exploitation of CVE-2024-9675 allows an attacker to mount arbitrary directories from the host to the container with read and write access.

  • Is CVE-2024-9675 a local or remote vulnerability?

    CVE-2024-9675 is classified as a local vulnerability, requiring access to the host system to exploit.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203