CVE-2024-9675
High
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.
SeverityHigh
CVSS7.8
Exploit probability34. percentile0.4%
Product
Buildah
PublishedOct 9, 2024
First seenOct 9, 2024
Weakness typeCWE-22Path traversal
How to fix
Update
- github.com/containers/buildah1.38.0, 1.37.1 or later
Vendor advisories
- access.redhat.com/errata/RHBA-2024:10967
- access.redhat.com/errata/RHEA-2024:6126
- access.redhat.com/errata/RHSA-2024:8563
- access.redhat.com/errata/RHSA-2024:8675
- access.redhat.com/errata/RHSA-2024:8679
- access.redhat.com/errata/RHSA-2024:8686
- access.redhat.com/errata/RHSA-2024:8690
- access.redhat.com/errata/RHSA-2024:8700
- access.redhat.com/errata/RHSA-2024:8703
- access.redhat.com/errata/RHSA-2024:8707
- access.redhat.com/errata/RHSA-2024:8708
- access.redhat.com/errata/RHSA-2024:8709
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| buildah_project buildah | No range specified | — |
| redhat openshift_container_platform | 4.13, 4.14, 4.15, 4.16, 4.17 | — |
| redhat enterprise_linux | 8.0, 9.0 | — |
| redhat enterprise_linux_eus | 8.8, 9.0, 9.2, 9.4 | — |
| redhat enterprise_linux_for_arm_64 | 8.0_aarch64, 9.0_aarch64 | — |
| redhat enterprise_linux_for_arm_64_eus | 8.8_aarch64, 9.0_aarch64, 9.2_aarch64, 9.4_aarch64 | — |
| redhat enterprise_linux_for_ibm_z_systems | 8.0_s390x, 9.0_s390x | — |
| redhat enterprise_linux_for_ibm_z_systems_eus | 8.8_s390x, 9.0_s390x, 9.2_s390x, 9.4_s390x | — |
| redhat enterprise_linux_for_power_little_endian | 8.0_ppc64le, 9.0_ppc64le | — |
| redhat enterprise_linux_for_power_little_endian_eus | 8.8_ppc64le, 9.0_ppc64le, 9.2_ppc64le, 9.4_ppc64le | — |
| redhat enterprise_linux_server_aus | 8.6, 9.2, 9.4 | — |
| redhat enterprise_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 | — |
| redhat enterprise_linux_server_tus | 8.6, 8.8 | — |
| redhat enterprise_linux_update_services_for_sap_solutions | 8.6, 8.8, 9.0, 9.2, 9.4 | — |
| github.com/containers/buildahGo | v < 1.38.0, v < 1.37.1 | 1.38.0, 1.37.1 |
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.