CVE-2024-9675
Buildah: buildah allows arbitrary directory mount
Reported by redhat · Published October 9, 2024
github.com/containers/buildah is fixed in 1.38.0 (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/containers/buildah | Go Modules | 1.38.0 |
| buildah | GitHub Packages | 1.38.0 |
| prometheus-podman-exporter | Chainguard | 1.13.3-r2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 0 | ||
| Red Hat | Red Hat Enterprise Linux 8 | 8100020241023085649.afee755d |
| Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | 8060020241028154646.3b538bd8 |
| Red Hat | Red Hat Enterprise Linux 8.6 Telecommunications Update Service | 8060020241028154646.3b538bd8 |
| Red Hat | Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | 8060020241028154646.3b538bd8 |
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | 8080020241025064551.0f77c1b7 |
| Red Hat | Red Hat Enterprise Linux 9 | 2:1.33.10-1.el9_4 |
| Red Hat | Red Hat Enterprise Linux 9 | 4:4.9.4-16.el9_4 |
| Red Hat | Red Hat Enterprise Linux 9 | 4:5.2.2-9.el9_5 |
| Red Hat | Red Hat Enterprise Linux 9 | 2:1.37.5-1.el9_5 |
| Red Hat | Red Hat Enterprise Linux 9.0 Extended Update Support | 1:1.26.8-2.el9_0 |
| Red Hat | Red Hat Enterprise Linux 9.0 Extended Update Support | 2:4.2.0-5.el9_0.2 |
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | 1:1.29.4-1.el9_2 |
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | 2:4.4.1-21.el9_2 |
| Red Hat | Red Hat OpenShift Container Platform 4.12 | v4.12.0-202503181728.p0.ge355452.assembly.stream.el8 |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | 3:4.4.1-15.rhaos4.13.el8 |
| Red Hat | Red Hat OpenShift Container Platform 4.13 | v4.13.0-202503111300.p0.gb379980.assembly.stream.el8 |
| Red Hat | Red Hat OpenShift Container Platform 4.14 | 3:4.4.1-21.rhaos4.14.el8 |
| Red Hat | Red Hat OpenShift Container Platform 4.14 | v4.14.0-202503060906.p0.gb03f3f5.assembly.stream.el8 |
| Red Hat | Red Hat OpenShift Container Platform 4.15 | 3:4.4.1-32.rhaos4.15.el8 |
…and 574 more
Timeline
- Oct 9, 2024 CVE Published
- Oct 9, 2024 PoC Published (4 in total, the first dated here)
- Oct 10, 2024 EPSS Score (30 in total, the first dated here)
- Oct 14, 2024 Coalition ESS Score (14 in total, the first dated here)
- Mar 10, 2026 Security Advisory (33 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (23 in total, the first dated here)
- Nov 4, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-9675
vulnetix vdb fixes CVE-2024-9675
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-9675/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHBA-2024:10967 vendor-advisoryx_refsource_REDHAT
- RHEA-2024:6126 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:8563 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:8675 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:8679 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:8686 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:8690 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:8700 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:8703 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:8707 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:8708 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:8709 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:8846 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:8984 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:8994 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:9051 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:9454 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:9459 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:2445 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:2449 vendor-advisoryx_refsource_REDHAT
…and 12 more