CVE-2024-9407
Buildah: podman: improper input validation in bind-propagation option of dockerfile run --mount instruction
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
A vulnerability exists in the bind-propagation option of the Dockerfile RUN --mount instruction. The system does not properly validate the input passed to this option, allowing users to pass arbitrary parameters to the mount instruction. This issue can be exploited to mount sensitive directories from the host into a container during the build process and, in some cases, modify the contents of those mounted files. Even if SELinux is used, this vulnerability can bypass its protection by allowing the source directory to be relabeled to give the container access to host files.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Medium4.7 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N |
| NVDNVD · Deferred | 3.1 | Medium4.7 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.29% · top 79% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.7.
Weakness
Affected products
podman
- affected < 5.2.4
buildah
- affected < 1.37.4
Red Hat · Red Hat Enterprise Linux 8
- unaffected 8100020241023085649.afee755d – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 4:4.9.4-16.el9_4 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 4:5.2.2-9.el9_5 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 2:1.37.5-1.el9_5 – < *
Red Hat · Red Hat Enterprise Linux 9.4 Extended Update Support
- unaffected 2:1.33.11-1.el9_4 – < *
Red Hat · Red Hat OpenShift Container Platform 4.16
- unaffected 416.94.202411201433-0 – < *
Red Hat · Red Hat Enterprise Linux 10
All versions: affected
Red Hat · Red Hat Enterprise Linux 10
All versions: affected
Red Hat · Red Hat OpenShift Container Platform 4
All versions: unaffected
Red Hat · Red Hat OpenShift Container Platform 4
All versions: affected
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/containers/buildahGHSA-fhqq-8f65-5xfc (opens in a new tab)
- Gogithub.com/containers/podmanGHSA-fhqq-8f65-5xfc (opens in a new tab)
- Gogithub.com/containers/podman/v2GHSA-fhqq-8f65-5xfc (opens in a new tab)
- Gogithub.com/containers/podman/v3GHSA-fhqq-8f65-5xfc (opens in a new tab)
- Gogithub.com/containers/podman/v4GHSA-fhqq-8f65-5xfc (opens in a new tab)
- Gogithub.com/containers/podman/v5GHSA-fhqq-8f65-5xfc (opens in a new tab)
What to do
Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
References (10)
- RHSA-2024:10147 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:8846 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:9051 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:9454 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:9459 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2024:9926 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-9407 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2315887 (opens in a new tab)issue-trackingx_refsource_REDHAT
- https://github.com/advisories/GHSA-fhqq-8f65-5xfc (opens in a new tab)
- https://security.netapp.com/advisory/ntap-20241220-0010/ (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-fhqq-8f65-5xfc (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2024-9407)Record last updated .