🔐 CVE Alert

CVE-2024-9407

MEDIUM 4.7

Buildah: podman: improper input validation in bind-propagation option of dockerfile run --mount instruction

CVSS Score
4.7
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-20
Published Oct 1, 2024
Last Updated Mar 19, 2026
Stay Ahead of the Next One

Get instant alerts for

Be the first to know when new medium vulnerabilities are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N
Attack Vector
Local
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None

Affected Versions

Red Hat / Red Hat Enterprise Linux 8
All versions affected
Red Hat / Red Hat Enterprise Linux 9
All versions affected
Red Hat / Red Hat Enterprise Linux 9
All versions affected
Red Hat / Red Hat Enterprise Linux 9
All versions affected
Red Hat / Red Hat Enterprise Linux 9.4 Extended Update Support
All versions affected
Red Hat / Red Hat OpenShift Container Platform 4.16
All versions affected
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 affected
Red Hat / Red Hat OpenShift Container Platform 4
All versions affected

References

NVD ↗ CVE.org ↗ EPSS Data ↗
access.redhat.com: https://access.redhat.com/errata/RHSA-2024:10147 access.redhat.com: https://access.redhat.com/errata/RHSA-2024:8846 access.redhat.com: https://access.redhat.com/errata/RHSA-2024:9051 access.redhat.com: https://access.redhat.com/errata/RHSA-2024:9454 access.redhat.com: https://access.redhat.com/errata/RHSA-2024:9459 access.redhat.com: https://access.redhat.com/errata/RHSA-2024:9926 access.redhat.com: https://access.redhat.com/security/cve/CVE-2024-9407 bugzilla.redhat.com: https://bugzilla.redhat.com/show_bug.cgi?id=2315887 github.com: https://github.com/advisories/GHSA-fhqq-8f65-5xfc security.netapp.com: https://security.netapp.com/advisory/ntap-20241220-0010/

Credits

Red Hat would like to thank Erik Sjölund (Upstream) for reporting this issue.