Buildah: buildah allows arbitrary directory mount
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 1.38.0, 1.37.1
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- buildah
fixed in 1.38.0
- container-tools:rhel8
Version range not reported
- container-tools:rhel8
Version range not reported
- container-tools:rhel8
Version range not reported
- container-tools:rhel8
Version range not reported
- container-tools:rhel8
Version range not reported
- buildah
Version range not reported
- podman
Version range not reported
- podman
Version range not reported
- buildah
Version range not reported
- buildah
Version range not reported
- podman
Version range not reported
- buildah
Version range not reported
- podman
Version range not reported
- openshift4/ose-docker-builder
Version range not reported
- podman
Version range not reported
- openshift4/ose-docker-builder
Version range not reported
- podman
Version range not reported
- openshift4/ose-docker-builder
Version range not reported
- podman
Version range not reported
- openshift4/ose-docker-builder
Version range not reported
- podman
Version range not reported
- openshift4/ose-docker-builder-rhel9
Version range not reported
- podman
Version range not reported
- openshift4/ose-docker-builder-rhel9
Version range not reported
- openshift4/ose-docker-builder-rhel9
Version range not reported
- quay/clair-rhel8
Version range not reported
- quay/quay-bridge-operator-bundle
Version range not reported
- quay/quay-bridge-operator-rhel8
Version range not reported
- quay/quay-builder-qemu-rhcos-rhel8
Version range not reported
- quay/quay-builder-rhel8
Version range not reported
- quay/quay-container-security-operator-bundle
Version range not reported
- quay/quay-container-security-operator-rhel8
Version range not reported
- quay/quay-operator-bundle
Version range not reported
- quay/quay-operator-rhel8
Version range not reported
- quay/quay-rhel8
Version range not reported
- ocp-tools-4/jenkins-agent-base-rhel8
Version range not reported
- ocp-tools-4/jenkins-rhel8
Version range not reported
- buildah
Version range not reported
- podman
Version range not reported
- skopeo
Version range not reported
- conmon
Version range not reported
- buildah
Version range not reported
- conmon
Version range not reported
- cri-o
Version range not reported
- github.com/containers/buildahGo
fixed in 1.38.0
- github.com/containers/buildahGo
fixed in 1.37.1
References 25
access.redhat.com
- errata/RHBA-2024:10967
- errata/RHSA-2024:8563
- errata/RHSA-2024:8675
- errata/RHSA-2024:8679
- errata/RHSA-2024:8686
- errata/RHSA-2024:8690
- errata/RHSA-2024:8700
- errata/RHSA-2024:8703
- errata/RHSA-2024:8707
- errata/RHSA-2024:8708
- errata/RHSA-2024:8709
- errata/RHSA-2024:8846
- errata/RHSA-2024:8984
- errata/RHSA-2024:8994
- errata/RHSA-2024:9051
- errata/RHSA-2024:9454
- errata/RHSA-2024:9459
- errata/RHSA-2025:2445
- errata/RHSA-2025:2449
- errata/RHSA-2025:2454
- errata/RHSA-2025:2701
- errata/RHSA-2025:2710
- errata/RHSA-2025:3301
- errata/RHSA-2025:3573
- security/cve/CVE-2024-9675