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

- Severity: High 7.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2024-10-09T14:32:11.922Z
- Modified: 2026-11-26T13:34:29.758Z
- Also known as: GHSA-586p-749j-fhwp, GO-2024-3186
- Related: CGA-v934-vq76-4q5f
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- buildah: before 1.38.0 (not affected: from 2:1.33.10-1.el9_4 before *; from 2:1.37.5-1.el9_5 before *; from 1:1.26.8-2.el9_0 before *; from 1:1.29.4-1.el9_2 before *; from 2:1.33.7-4.rhaos4.18.el9 before *)
- container-tools:rhel8: no versions given (not affected: from 8100020241023085649.afee755d before *; from 8060020241028154646.3b538bd8 before *; from 8080020241025064551.0f77c1b7 before *)
- podman: no versions given (not affected: from 4:4.9.4-16.el9_4 before *; from 4:5.2.2-9.el9_5 before *; from 2:4.2.0-5.el9_0.2 before *; from 2:4.4.1-21.el9_2 before *; from 3:4.4.1-15.rhaos4.13.el8 before *; from 3:4.4.1-21.rhaos4.14.el8 before *; from 3:4.4.1-32.rhaos4.15.el8 before *; from 4:4.9.4-12.rhaos4.16.el8 before *; from 5:5.2.2-1.rhaos4.17.el8 before *; from 5:5.2.2-5.rhaos4.18.el9 before *)
- openshift4/ose-docker-builder: no versions given (not affected: from v4.12.0-202503181728.p0.ge355452.assembly.stream.el8 before *; from v4.13.0-202503111300.p0.gb379980.assembly.stream.el8 before *; from v4.14.0-202503060906.p0.gb03f3f5.assembly.stream.el8 before *; from v4.15.0-202503060734.p0.gbc0b789.assembly.stream.el8 before *)
- openshift4/ose-docker-builder-rhel9: no versions given (not affected: from v4.16.0-202503121138.p0.g31c3c26.assembly.stream.el9 before *; from v4.17.0-202503041005.p0.gc3b0999.assembly.stream.el9 before *; from v4.18.0-202503040802.p0.g6a5ec2a.assembly.stream.el9 before *)
- conmon: no versions given (not affected: from 3:2.1.12-7.rhaos4.18.el9 before *)
- conmon-rs: no versions given (not affected: from 0:0.6.6-0.rhaos4.18.el9.1 before *)
- containers-common: no versions given (not affected: from 3:1-86.rhaos4.18.el9 before *)
- container-selinux: no versions given (not affected: from 4:2.234.2-2.rhaos4.18.el9 before *)
- cri-o: no versions given (not affected: from 0:1.31.5-4.rhaos4.18.gitdad78d5.el8 before *)
- cri-tools: no versions given (not affected: from 0:1.31.1-3.el9 before *)
- crudini: no versions given (not affected: from 0:0.9.3-4.el9 before *)
- crun: no versions given (not affected: from 0:1.19.1-2.rhaos4.18.el9 before *)
- golang-github-prometheus-promu: no versions given (not affected: from 0:0.16.0-20.gitf6c51c9.el9 before *)
- haproxy: no versions given (not affected: from 0:2.8.10-1.rhaos4.17.el9 before *)
- ignition: no versions given (not affected: from 0:2.18.0-6.rhaos4.16.el9 before *)
- kernel: no versions given (not affected: from 0:5.14.0-427.50.2.el9_4 before *)
- libreswan: no versions given (not affected: from 0:4.6-3.el9_0.3 before *)
- openshift: no versions given (not affected: from 0:4.18.0-202502051001.p0.gacb9630.assembly.stream.el8 before *)
- openshift4-aws-iso: no versions given (not affected: from 0:4.18.0-202502110932.p0.gd2acdd5.assembly.stream.el8 before *)
- openshift-ansible: no versions given (not affected: from 0:4.18.0-202411201308.p0.g006fe4e.assembly.stream.el8 before *)
- openshift-clients: no versions given (not affected: from 0:4.18.0-202502032331.p0.ga50d4c0.assembly.stream.el8 before *)
- ose-aws-ecr-image-credential-provider: no versions given (not affected: from 0:4.18.0-202411201308.p0.gc395190.assembly.stream.el8 before *)
- ose-azure-acr-image-credential-provider: no versions given (not affected: from 0:4.18.0-202412111238.p0.g9c24d76.assembly.stream.el8 before *)
- ose-gcp-gcr-image-credential-provider: no versions given (not affected: from 0:4.18.0-202501220601.p0.g6ea2356.assembly.stream.el8 before *)
- ovn24.09: no versions given (not affected: from 0:24.09.2-14.el9fdp before *)
- pyOpenSSL: no versions given (not affected: from 0:20.0.1-2.el9.1 before *)
- pysnmp: no versions given (not affected: from 0:4.4.12-6.el9 before *)
- pysnmp-lextudio: no versions given (not affected: from 0:5.0.26-2.el9 before *)
- python-alembic: no versions given (not affected: from 0:1.6.0-1.el9 before *)
- python-amqp: no versions given (not affected: from 0:5.0.6-1.el9 before *)
- python-automaton: no versions given (not affected: from 0:3.2.0-0.20240522151206.9255778.el9 before *)
- python-autopage: no versions given (not affected: from 0:0.4.0-1.el9.2 before *)
- python-bcrypt: no versions given (not affected: from 0:3.1.6-3.el9 before *)
- python-beautifulsoup4: no versions given (not affected: from 0:4.9.3-2.el9.1 before *)
- python-binary-memcached: no versions given (not affected: from 0:0.31.1-1.el9 before *)
- python-cachetools: no versions given (not affected: from 0:3.1.0-4.el9 before *)
- python-cinderclient: no versions given (not affected: from 0:9.4.0-0.20231214204912.f1f14df.el9 before *)
- python-click: no versions given (not affected: from 0:7.1.2-5.el9.1 before *)
- python-cliff: no versions given (not affected: from 0:4.7.0-0.20240708130156.b75afa0.el9 before *)
- python-cmd2: no versions given (not affected: from 0:1.4.0-2.el9.1 before *)
- python-colorama: no versions given (not affected: from 0:0.4.1-2.el9 before *)
- python-construct: no versions given (not affected: from 0:2.10.56-2.el9 before *)
- python-contextlib2: no versions given (not affected: from 0:0.6.0.post1-1.el9 before *)
- python-ddt: no versions given (not affected: from 0:1.6.0-1.el9 before *)
- python-debtcollector: no versions given (not affected: from 0:3.0.0-0.20240522153257.0e6ce1c.el9 before *)
- python-decorator: no versions given (not affected: from 0:4.4.2-6.0.el9 before *)
- python-defusedxml: no versions given (not affected: from 0:0.7.1-1.el9 before *)
- python-dogpile-cache: no versions given (not affected: from 0:1.1.5-3.el9 before *)
- python-dracclient: no versions given (not affected: from 0:8.0.0-0.20231214182834.9c7499c.el9 before *)
- python-editor: no versions given (not affected: from 0:1.0.4-5.el9 before *)
- python-eventlet: no versions given (not affected: from 0:0.33.1-6.el9 before *)
- python-fasteners: no versions given (not affected: from 0:0.18-1.el9 before *)
- python-fixtures: no versions given (not affected: from 0:4.0.1-1.el9 before *)
- python-flask: no versions given (not affected: from 2:2.0.1-4.el9.2 before *)
- python-funcsigs: no versions given (not affected: from 0:1.0.2-17.el9 before *)
- python-futurist: no versions given (not affected: from 0:3.0.0-0.20240522153313.4e14db5.el9 before *)
- python-gevent: no versions given (not affected: from 0:21.1.2-1.el9 before *)
- python-glanceclient: no versions given (not affected: from 1:4.4.0-0.20231214201927.62e6fc8.el9 before *)
- python-greenlet: no versions given (not affected: from 0:1.1.3-1.el9 before *)
- and 124 more: see the JSON

## Every score

- redhat: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://access.redhat.com/errata/RHBA-2024:10967> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHEA-2024:6126> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:8563> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:8675> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:8679> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:8686> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:8690> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:8700> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:8703> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:8707> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:8708> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:8709> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:8846> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:8984> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:8994> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:9051> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:9454> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2024:9459> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:2445> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:2449> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:2454> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:2701> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:2710> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:3301> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:3573> (third-party-advisory, vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2024-9675> (third-party-advisory, vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2317458> (issue-tracking, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-9675> (advisory)
- <https://github.com/containers/buildah/commit/aa67e5d71ee7ec07122a210baa3b13966a9e086c> (fix, web)
- <https://pkg.go.dev/vuln/GO-2024-3186> (web)
- <https://github.com/containers/buildah> (package)
- <https://github.com/advisories/GHSA-586p-749j-fhwp> (advisory)

## Sources

- CVE List: [CVE-2024-9675](https://www.cve.org/CVERecord?id=CVE-2024-9675), CVE Terms of Use, modified 2026-11-26
- GitHub Advisory Database: [GHSA-586p-749j-fhwp](https://github.com/advisories/GHSA-586p-749j-fhwp), CC-BY-4.0, modified 2026-10-30
- Go Vulnerability Database: [GO-2024-3186](https://pkg.go.dev/vuln/GO-2024-3186), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2024-9675](https://nvd.nist.gov/vuln/detail/CVE-2024-9675), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2024-9675 · Whole record: https://cve.day/CVE-2024-9675.json · Rebuilt by cve.day 2026-11-26T13:47:22.441Z
