CVE-2024-9407
Buildah: podman: improper input validation in bind-propagation option of dockerfile run --mount instruction
- 4.7MediumCVSS base score
- 0.29%Exploitation in 30 daysEPSS · top 78% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
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 78% of all CVEs (12 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.
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
Affected packages6
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
References10
- 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)
- EUVD EUVD-2024-3036 (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://cveledger.app/cve/CVE-2024-9407)Record last updated .