CVE-2024-9407
Buildah: podman: improper input validation in bind-propagation option of dockerfile run --mount instruction
- State
- Published
- Severity
- 4.7 Medium
- Published
- Oct 1, 2024
- Updated
- Oct 22, 2026
- Reserved
- Oct 1, 2024
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
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 4.7 Medium | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N | redhat |
Weaknesses
- CWE-20 Improper Input Validation
Affected Products
| Product | Versions |
|---|---|
podman |
|
buildah |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9.4 Extended Update SupportRed Hat |
|
Red Hat OpenShift Container Platform 4.16Red Hat |
|
Red Hat Enterprise Linux 10Red Hat | |
Red Hat Enterprise Linux 10Red Hat | |
Red Hat OpenShift Container Platform 4Red Hat | |
Red Hat OpenShift Container Platform 4Red Hat |
References
- RHSA-2024:10147vendor-advisory
- RHSA-2024:8846vendor-advisory
- RHSA-2024:9051vendor-advisory
- RHSA-2024:9454vendor-advisory
- RHSA-2024:9459vendor-advisory
- RHSA-2024:9926vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-9407vdb-entry
- RHBZ#2315887issue-tracking
- https://github.com/advisories/GHSA-fhqq-8f65-5xfc
- https://security.netapp.com/advisory/ntap-20241220-0010/
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.