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
- *
- <5.2.4
- <1.5.0
- *
- <1.9.1
- *
- <1.37.4
- *
Matching in nixpkgs
pkgs.podman
Program for managing pods, containers and container images
pkgs.buildah
Tool which facilitates building OCI images
pkgs.podman-tui
Podman Terminal UI
pkgs.podman-compose
Implementation of docker-compose with podman backend
pkgs.podman-desktop
A graphical tool for developing on containers and Kubernetes
pkgs.buildah-unwrapped
Tool which facilitates building OCI images
pkgs.nomad-driver-podman
Podman task driver for Nomad
pkgs.python311Packages.podman
Python bindings for Podman's RESTful API
Package maintainers
-
@saschagrunert Sascha Grunert <mail@saschagrunert.de>
-
@vdemeester Vincent Demeester <vincent@sbr.pm>
-
@cpcloud Phillip Cloud
-
@sikmir Nikolay Korotkiy <sikmir@disroot.org>
-
@booxter Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
-
@panda2134 panda2134 <me+nixpkgs@panda2134.site>
-
@aaronjheng Aaron Jheng <wentworth@outlook.com>
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>