Buildah: buildah allows arbitrary directory mount

Summary

CVECVE-2024-9675
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-10-09 15:15:17 UTC
Updated2026-06-29 21:16:30 UTC
DescriptionA 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')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary4.4MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
3.1[email protected]Secondary7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1CNACVSS7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

CVSS: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)

TypeVendorProductVersionUpdateEditionLanguage
Application Buildah Project Buildah - All All All
Operating System Redhat Enterprise Linux 8.0 All All All
Operating System Redhat Enterprise Linux 9.0 All All All
Operating System Redhat Enterprise Linux Eus 8.8 All All All
Operating System Redhat Enterprise Linux Eus 9.0 All All All
Operating System Redhat Enterprise Linux Eus 9.2 All All All
Operating System Redhat Enterprise Linux Eus 9.4 All All All
Operating System Redhat Enterprise Linux For Arm 64 8.0_aarch64 All All All
Operating System Redhat Enterprise Linux For Arm 64 9.0_aarch64 All All All
Operating System Redhat Enterprise Linux For Arm 64 Eus 8.8_aarch64 All All All
Operating System Redhat Enterprise Linux For Arm 64 Eus 9.0_aarch64 All All All
Operating System Redhat Enterprise Linux For Arm 64 Eus 9.2_aarch64 All All All
Operating System Redhat Enterprise Linux For Arm 64 Eus 9.4_aarch64 All All All
Operating System Redhat Enterprise Linux For Ibm Z Systems 8.0_s390x All All All
Operating System Redhat Enterprise Linux For Ibm Z Systems 9.0_s390x All All All
Operating System Redhat Enterprise Linux For Ibm Z Systems Eus 8.8_s390x All All All
Operating System Redhat Enterprise Linux For Ibm Z Systems Eus 9.0_s390x All All All
Operating System Redhat Enterprise Linux For Ibm Z Systems Eus 9.2_s390x All All All
Operating System Redhat Enterprise Linux For Ibm Z Systems Eus 9.4_s390x All All All
Operating System Redhat Enterprise Linux For Power Little Endian 8.0_ppc64le All All All
Operating System Redhat Enterprise Linux For Power Little Endian 9.0_ppc64le All All All
Operating System Redhat Enterprise Linux For Power Little Endian Eus 8.8_ppc64le All All All
Operating System Redhat Enterprise Linux For Power Little Endian Eus 9.0_ppc64le All All All
Operating System Redhat Enterprise Linux For Power Little Endian Eus 9.2_ppc64le All All All
Operating System Redhat Enterprise Linux For Power Little Endian Eus 9.4_ppc64le All All All
Operating System Redhat Enterprise Linux Server Aus 8.6 All All All
Operating System Redhat Enterprise Linux Server Aus 9.2 All All All
Operating System Redhat Enterprise Linux Server Aus 9.4 All All All
Operating System Redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions 8.6_ppc64le All All All
Operating System Redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions 8.8_ppc64le All All All
Operating System Redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions 9.0_ppc64le All All All
Operating System Redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions 9.2_ppc64le All All All
Operating System Redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions 9.4_ppc64le All All All
Operating System Redhat Enterprise Linux Server Tus 8.6 All All All
Operating System Redhat Enterprise Linux Server Tus 8.8 All All All
Operating System Redhat Enterprise Linux Update Services For Sap Solutions 8.6 All All All
Operating System Redhat Enterprise Linux Update Services For Sap Solutions 8.8 All All All
Operating System Redhat Enterprise Linux Update Services For Sap Solutions 9.0 All All All
Operating System Redhat Enterprise Linux Update Services For Sap Solutions 9.2 All All All
Operating System Redhat Enterprise Linux Update Services For Sap Solutions 9.4 All All All
Application Redhat Openshift Container Platform 4.13 All All All
Application Redhat Openshift Container Platform 4.14 All All All
Application Redhat Openshift Container Platform 4.15 All All All
Application Redhat Openshift Container Platform 4.16 All All All
Application Redhat Openshift Container Platform 4.17 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

SourceTimeEvent
CNA2024-10-09T02:45:06.343ZReported to Red Hat.
CNA2024-10-09T00:00:00.000ZMade 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.

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report