CVE Monitoring DEENSign in

← Back to overview

CVE-2024-9407

4.7 · Medium

Buildah: podman: improper input validation in bind-propagation option of dockerfile run --mount instruction – 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.

Affected products

ProductVendorSources
Enterprise Linux 10Red HatCVE.org
Enterprise Linux 8Red HatCVE.org
Enterprise Linux 9Red HatCVE.org
Enterprise Linux Extended Update SupportRed HatCVE.org
OpenShift Container PlatformRed HatCVE.org
OpenShift Container Platform 4Red HatCVE.org

Normalised: without version constraints and vendor prefix, unified spelling. Affected versions are listed in the original sources.

Description per source

NVD
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.

CVE.org
Buildah: podman: improper input validation in bind-propagation option of dockerfile run --mount instruction – 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.

SourceReferenceScorePublishedUpdatedLink
NVDCVE-2024-94074.7 2024-10-01 23:152026-11-24 08:17Open ↗
CVE.orgCVE-2024-94074.7 2024-10-01 22:132026-11-24 07:23Open ↗