ADVISORIES

Red Hat VEX

RHVEX-CVE-2024-9407

Buildah: Podman: Improper Input Validation in bind-propagation Option of Dockerfile RUN --mount Instruction

Moderate No fix available CVE-2024-9407

Details

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 packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:10buildah
All versions, no fix yet
Red Hat:enterprise_linux:10buildah-tests
All versions, no fix yet
Red Hat:enterprise_linux:10podman
All versions, no fix yet
Red Hat:enterprise_linux:10podman-docker
All versions, no fix yet
Red Hat:enterprise_linux:10podman-remote
All versions, no fix yet
Red Hat:enterprise_linux:10podman-tests
All versions, no fix yet

References