Buildah: buildah allows arbitrary directory mount
Summary
| CVE | CVE-2024-9675 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-10-09 15:15:17 UTC |
| Updated | 2026-06-29 21:16:30 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 4.4 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
EPSS: 0.003920000 probability, percentile 0.310630000 (date 2026-07-01)
Problem Types: CWE-22 | CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 4.4 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| 3.1 | [email protected] | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | CVSS | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Red Hat Enterprise Linux 8 | unaffected 8100020241023085649.afee755d * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | unaffected 8060020241028154646.3b538bd8 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.6 Telecommunications Update Service | unaffected 8060020241028154646.3b538bd8 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.6 Update Services For SAP Solutions | unaffected 8060020241028154646.3b538bd8 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | unaffected 8080020241025064551.0f77c1b7 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 2:1.33.10-1.el9_4 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 4:4.9.4-16.el9_4 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 4:5.2.2-9.el9_5 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 2:1.37.5-1.el9_5 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9.0 Extended Update Support | unaffected 1:1.26.8-2.el9_0 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9.0 Extended Update Support | unaffected 2:4.2.0-5.el9_0.2 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | unaffected 1:1.29.4-1.el9_2 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | unaffected 2:4.4.1-21.el9_2 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.12 | unaffected v4.12.0-202503181728.p0.ge355452.assembly.stream.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.13 | unaffected 3:4.4.1-15.rhaos4.13.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.13 | unaffected v4.13.0-202503111300.p0.gb379980.assembly.stream.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.14 | unaffected 3:4.4.1-21.rhaos4.14.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.14 | unaffected v4.14.0-202503060906.p0.gb03f3f5.assembly.stream.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.15 | unaffected 3:4.4.1-32.rhaos4.15.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.15 | unaffected v4.15.0-202503060734.p0.gbc0b789.assembly.stream.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.16 | unaffected 4:4.9.4-12.rhaos4.16.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.16 | unaffected v4.16.0-202503121138.p0.g31c3c26.assembly.stream.el9 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.17 | unaffected 5:5.2.2-1.rhaos4.17.el8 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.17 | unaffected v4.17.0-202503041005.p0.gc3b0999.assembly.stream.el9 * rpm | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4.18 | unaffected v4.18.0-202503040802.p0.g6a5ec2a.assembly.stream.el9 * rpm | Not specified |
| CNA | Red Hat | OpenShift Developer Tools And Services | Not specified | Not specified |
| CNA | Red Hat | OpenShift Developer Tools And Services | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 10 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 10 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4 | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4 | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenShift Container Platform 4 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Quay 3 | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| access.redhat.com/errata/RHSA-2024:8708 | [email protected] | access.redhat.com | Third Party Advisory |
| access.redhat.com/errata/RHSA-2025:2701 | [email protected] | access.redhat.com | Third Party Advisory |
| access.redhat.com/errata/RHSA-2024:8994 | [email protected] | access.redhat.com | Third Party Advisory |
| access.redhat.com/errata/RHSA-2024:8700 | [email protected] | access.redhat.com | Third Party Advisory |
| access.redhat.com/errata/RHSA-2024:8563 | [email protected] | access.redhat.com | Third Party Advisory |
| access.redhat.com/errata/RHSA-2024:8703 | [email protected] | access.redhat.com | Third Party Advisory |
| access.redhat.com/errata/RHSA-2024:8984 | [email protected] | access.redhat.com | Third Party Advisory |
| access.redhat.com/errata/RHSA-2024:9051 | [email protected] | access.redhat.com | Third Party Advisory |
| access.redhat.com/errata/RHSA-2024:8679 | [email protected] | access.redhat.com | Third Party Advisory |
| access.redhat.com/errata/RHSA-2025:2454 | [email protected] | access.redhat.com | Third Party Advisory |
| access.redhat.com/errata/RHSA-2025:2449 | [email protected] | access.redhat.com | Third Party Advisory |
| access.redhat.com/errata/RHSA-2025:2445 | [email protected] | access.redhat.com | Third Party Advisory |
| bugzilla.redhat.com/show_bug.cgi | [email protected] | bugzilla.redhat.com | Issue Tracking |
| access.redhat.com/errata/RHSA-2024:8675 | [email protected] | access.redhat.com | Third Party Advisory |
| access.redhat.com/errata/RHSA-2024:9459 | [email protected] | access.redhat.com | Third Party Advisory |
| access.redhat.com/errata/RHSA-2024:8709 | [email protected] | access.redhat.com | Third Party Advisory |
| access.redhat.com/security/cve/CVE-2024-9675 | [email protected] | access.redhat.com | Third Party Advisory |
| access.redhat.com/errata/RHSA-2024:8846 | [email protected] | access.redhat.com | Third Party Advisory |
| access.redhat.com/errata/RHSA-2024:8707 | [email protected] | access.redhat.com | Third Party Advisory |
| access.redhat.com/errata/RHSA-2025:3301 | [email protected] | access.redhat.com | Third Party Advisory |
| access.redhat.com/errata/RHSA-2024:9454 | [email protected] | access.redhat.com | Third Party Advisory |
| access.redhat.com/errata/RHSA-2024:8686 | [email protected] | access.redhat.com | Third Party Advisory |
| access.redhat.com/errata/RHSA-2025:2710 | [email protected] | access.redhat.com | Third Party Advisory |
| access.redhat.com/errata/RHSA-2024:8690 | [email protected] | access.redhat.com | Third Party Advisory |
| access.redhat.com/errata/RHSA-2025:3573 | [email protected] | access.redhat.com | Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Red Hat would like to thank Erik Sjölund (Upstream) for reporting this issue. (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2024-10-09T02:45:06.343Z | Reported to Red Hat. |
| CNA | 2024-10-09T00:00:00.000Z | Made public. |
Workarounds
CNA: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
There are currently no legacy QID mappings associated with this CVE.