CVE-2024-9675
Buildah: buildah allows arbitrary directory mount
Check your servers for CVE-2024-9675
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-9675 affects podman, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.47%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 32.2% of all scored CVEs. Scores of 29 Nov 2026.
The assessment of CISA (SSVC, 9 Oct 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Affected products
As the CNA lists them. The first 100 of 545 entries; all of them are in the record on cve.org.
| Product | Versions |
|---|---|
|
buildah
package
buildah |
affected before 1.38.0
Other versions: unaffected
|
|
Red Hat Enterprise Linux 8
package
container-tools:rhel8 |
unaffected 8100020241023085649.afee755d and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
package
container-tools:rhel8 |
unaffected 8060020241028154646.3b538bd8 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Telecommunications Update Service
package
container-tools:rhel8 |
unaffected 8060020241028154646.3b538bd8 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
package
container-tools:rhel8 |
unaffected 8060020241028154646.3b538bd8 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Extended Update Support
package
container-tools:rhel8 |
unaffected 8080020241025064551.0f77c1b7 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
buildah |
unaffected 2:1.33.10-1.el9_4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
podman |
unaffected 4:4.9.4-16.el9_4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
podman |
unaffected 4:5.2.2-9.el9_5 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
buildah |
unaffected 2:1.37.5-1.el9_5 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.0 Extended Update Support
package
buildah |
unaffected 1:1.26.8-2.el9_0 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.0 Extended Update Support
package
podman |
unaffected 2:4.2.0-5.el9_0.2 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.2 Extended Update Support
package
buildah |
unaffected 1:1.29.4-1.el9_2 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.2 Extended Update Support
package
podman |
unaffected 2:4.4.1-21.el9_2 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.12
package
openshift4/ose-docker-builder |
unaffected v4.12.0-202503181728.p0.ge355452.assembly.stream.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.13
package
podman |
unaffected 3:4.4.1-15.rhaos4.13.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.13
package
openshift4/ose-docker-builder |
unaffected v4.13.0-202503111300.p0.gb379980.assembly.stream.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.13
package
podman |
unaffected 3:4.4.1-15.rhaos4.13.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.14
package
podman |
unaffected 3:4.4.1-21.rhaos4.14.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.14
package
openshift4/ose-docker-builder |
unaffected v4.14.0-202503060906.p0.gb03f3f5.assembly.stream.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.14
package
podman |
unaffected 3:4.4.1-21.rhaos4.14.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.15
package
podman |
unaffected 3:4.4.1-32.rhaos4.15.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.15
package
openshift4/ose-docker-builder |
unaffected v4.15.0-202503060734.p0.gbc0b789.assembly.stream.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.15
package
podman |
unaffected 3:4.4.1-32.rhaos4.15.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.16
package
podman |
unaffected 4:4.9.4-12.rhaos4.16.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.16
package
podman |
unaffected 4:4.9.4-12.rhaos4.16.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.16
package
openshift4/ose-docker-builder-rhel9 |
unaffected v4.16.0-202503121138.p0.g31c3c26.assembly.stream.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.17
package
podman |
unaffected 5:5.2.2-1.rhaos4.17.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.17
package
podman |
unaffected 5:5.2.2-1.rhaos4.17.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.17
package
openshift4/ose-docker-builder-rhel9 |
unaffected v4.17.0-202503041005.p0.gc3b0999.assembly.stream.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
buildah |
unaffected 2:1.33.7-4.rhaos4.18.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
conmon |
unaffected 3:2.1.12-7.rhaos4.18.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
conmon-rs |
unaffected 0:0.6.6-0.rhaos4.18.el9.1 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
containers-common |
unaffected 3:1-86.rhaos4.18.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
container-selinux |
unaffected 4:2.234.2-2.rhaos4.18.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
cri-o |
unaffected 0:1.31.5-4.rhaos4.18.gitdad78d5.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
cri-tools |
unaffected 0:1.31.1-3.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
crudini |
unaffected 0:0.9.3-4.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
crun |
unaffected 0:1.19.1-2.rhaos4.18.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
golang-github-prometheus-promu |
unaffected 0:0.16.0-20.gitf6c51c9.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
haproxy |
unaffected 0:2.8.10-1.rhaos4.17.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
ignition |
unaffected 0:2.18.0-6.rhaos4.16.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
kernel |
unaffected 0:5.14.0-427.50.2.el9_4 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
libreswan |
unaffected 0:4.6-3.el9_0.3 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
openshift |
unaffected 0:4.18.0-202502051001.p0.gacb9630.assembly.stream.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
openshift4-aws-iso |
unaffected 0:4.18.0-202502110932.p0.gd2acdd5.assembly.stream.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
openshift-ansible |
unaffected 0:4.18.0-202411201308.p0.g006fe4e.assembly.stream.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
openshift-clients |
unaffected 0:4.18.0-202502032331.p0.ga50d4c0.assembly.stream.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
ose-aws-ecr-image-credential-provider |
unaffected 0:4.18.0-202411201308.p0.gc395190.assembly.stream.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
ose-azure-acr-image-credential-provider |
unaffected 0:4.18.0-202412111238.p0.g9c24d76.assembly.stream.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
ose-gcp-gcr-image-credential-provider |
unaffected 0:4.18.0-202501220601.p0.g6ea2356.assembly.stream.el8 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
ovn24.09 |
unaffected 0:24.09.2-14.el9fdp and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
podman |
unaffected 5:5.2.2-5.rhaos4.18.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
pyOpenSSL |
unaffected 0:20.0.1-2.el9.1 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
pysnmp |
unaffected 0:4.4.12-6.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
pysnmp-lextudio |
unaffected 0:5.0.26-2.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-alembic |
unaffected 0:1.6.0-1.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-amqp |
unaffected 0:5.0.6-1.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-automaton |
unaffected 0:3.2.0-0.20240522151206.9255778.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-autopage |
unaffected 0:0.4.0-1.el9.2 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-bcrypt |
unaffected 0:3.1.6-3.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-beautifulsoup4 |
unaffected 0:4.9.3-2.el9.1 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-binary-memcached |
unaffected 0:0.31.1-1.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-cachetools |
unaffected 0:3.1.0-4.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-cinderclient |
unaffected 0:9.4.0-0.20231214204912.f1f14df.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-click |
unaffected 0:7.1.2-5.el9.1 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-cliff |
unaffected 0:4.7.0-0.20240708130156.b75afa0.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-cmd2 |
unaffected 0:1.4.0-2.el9.1 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-colorama |
unaffected 0:0.4.1-2.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-construct |
unaffected 0:2.10.56-2.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-contextlib2 |
unaffected 0:0.6.0.post1-1.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-ddt |
unaffected 0:1.6.0-1.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-debtcollector |
unaffected 0:3.0.0-0.20240522153257.0e6ce1c.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-decorator |
unaffected 0:4.4.2-6.0.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-defusedxml |
unaffected 0:0.7.1-1.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-dogpile-cache |
unaffected 0:1.1.5-3.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-dracclient |
unaffected 0:8.0.0-0.20231214182834.9c7499c.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-editor |
unaffected 0:1.0.4-5.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-eventlet |
unaffected 0:0.33.1-6.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-fasteners |
unaffected 0:0.18-1.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-fixtures |
unaffected 0:4.0.1-1.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-flask |
unaffected 2:2.0.1-4.el9.2 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-funcsigs |
unaffected 0:1.0.2-17.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-futurist |
unaffected 0:3.0.0-0.20240522153313.4e14db5.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-gevent |
unaffected 0:21.1.2-1.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-glanceclient |
unaffected 1:4.4.0-0.20231214201927.62e6fc8.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-greenlet |
unaffected 0:1.1.3-1.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-gunicorn |
unaffected 0:20.0.4-2.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-hardware |
unaffected 0:0.31.0-0.20231214192627.af076d3.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-html5lib |
unaffected 1:1.1-4.el9.1 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-ifaddr |
unaffected 0:0.1.6-6.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-importlib-metadata |
unaffected 0:4.12.0-2.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-ironicclient |
unaffected 0:4.9.0-0.20211209154934.6f1be06.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-ironic-prometheus-exporter |
unaffected 0:4.3.0-0.20231219134422.5211827.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-iso8601 |
unaffected 0:0.1.12-9.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-itsdangerous |
unaffected 0:2.0.1-2.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-jinja2 |
unaffected 0:3.1.5-1.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-jsonpath-rw |
unaffected 0:1.2.3-23.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-jsonschema |
unaffected 0:4.17.3-1.el9 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
python-kazoo |
unaffected 0:2.7.0-2.el9 and later
Other versions: affected
|
Is my server affected?
Find the installed version of podman and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i podman
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2024-9675 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2024-9675RHEL, Rocky, Alma, Fedora
rpm -q podman
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2024-9675Alpine
apk list --installed | grep -i podmanWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-9675
trivy image --scanners vuln IMAGE | grep CVE-2024-9675
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- RHBA-2024:10967 access.redhat.com · vendor advisory
- RHEA-2024:6126 access.redhat.com · vendor advisory
- RHSA-2024:8563 access.redhat.com · vendor advisory
- RHSA-2024:8675 access.redhat.com · vendor advisory
- RHSA-2024:8679 access.redhat.com · vendor advisory
- RHSA-2024:8686 access.redhat.com · vendor advisory
- RHSA-2024:8690 access.redhat.com · vendor advisory
- RHSA-2024:8700 access.redhat.com · vendor advisory
- RHSA-2024:8703 access.redhat.com · vendor advisory
- RHSA-2024:8707 access.redhat.com · vendor advisory
- RHSA-2024:8708 access.redhat.com · vendor advisory
- RHSA-2024:8709 access.redhat.com · vendor advisory
15 more
- RHSA-2024:8846 access.redhat.com · vendor advisory
- RHSA-2024:8984 access.redhat.com · vendor advisory
- RHSA-2024:8994 access.redhat.com · vendor advisory
- RHSA-2024:9051 access.redhat.com · vendor advisory
- RHSA-2024:9454 access.redhat.com · vendor advisory
- RHSA-2024:9459 access.redhat.com · vendor advisory
- RHSA-2025:2445 access.redhat.com · vendor advisory
- RHSA-2025:2449 access.redhat.com · vendor advisory
- RHSA-2025:2454 access.redhat.com · vendor advisory
- RHSA-2025:2701 access.redhat.com · vendor advisory
- RHSA-2025:2710 access.redhat.com · vendor advisory
- RHSA-2025:3301 access.redhat.com · vendor advisory
- RHSA-2025:3573 access.redhat.com · vendor advisory
- https://access.redhat.com/security/cve/CVE-2024-9675 access.redhat.com · vdb entry
- RHBZ#2317458 bugzilla.redhat.com · issue tracking
Source: the record CVE-2024-9675 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse