What’s Vulnerable › Vulnerabilities

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

Description

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 products

How to fix

Upgrade to a fixed version: buildah 1.38.0; Red Hat OpenShift Container Platform 4.18 2:1.33.7-4.rhaos4.18.el9; Red Hat Quay 3 v3.13.2-1; Red Hat Enterprise Linux 8 8100020241023085649.afee755d; Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support 8060020241028154646.3b538bd8; Red Hat Enterprise Linux 8.6 Telecommunications Update Service 8060020241028154646.3b538bd8; Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions 8060020241028154646.3b538bd8; Red Hat Enterprise Linux 8.8 Extended Update Support 8080020241025064551.0f77c1b7; Red Hat Enterprise Linux 9 2:1.33.10-1.el9_4; Red Hat Enterprise Linux 9.0 Extended Update Support 1:1.26.8-2.el9_0; Red Hat Enterprise Linux 9.2 Extended Update Support 1:1.29.4-1.el9_2; Red Hat OpenShift Container Platform 4.12 v4.12.0-202503181728.p0.ge355452.assembly.stream.el8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-9675 or the next vulnerability affects your stack