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.37.4
- <1.9.1
- *
- *
Matching in nixpkgs
pkgs.podman
Program for managing pods, containers and container images
-
nixos-unstable -
- nixpkgs-unstable 5.6.1
pkgs.podman-tui
Podman Terminal UI
-
nixos-unstable -
- nixpkgs-unstable 1.8.0
pkgs.podman-bootc
Streamlining podman+bootc interactions
-
nixos-unstable -
- nixpkgs-unstable 0.1.2
pkgs.podman-compose
Implementation of docker-compose with podman backend
-
nixos-unstable -
- nixpkgs-unstable 1.5.0
pkgs.podman-desktop
Graphical tool for developing on containers and Kubernetes
-
nixos-unstable -
- nixpkgs-unstable 1.21.0
pkgs.buildah-unwrapped
Tool which facilitates building OCI images
-
nixos-unstable -
- nixpkgs-unstable 1.41.4
pkgs.nomad-driver-podman
Podman task driver for Nomad
-
nixos-unstable -
- nixpkgs-unstable 0.6.3
pkgs.python312Packages.podman
Python bindings for Podman's RESTful API
-
nixos-unstable -
- nixpkgs-unstable 5.6.0
pkgs.python313Packages.podman
Python bindings for Podman's RESTful API
-
nixos-unstable -
- nixpkgs-unstable 5.6.0
Package maintainers
-
@vdemeester Vincent Demeester <vincent@sbr.pm>
-
@saschagrunert Sascha Grunert <mail@saschagrunert.de>
-
@cpcloud Phillip Cloud
-
@evan-goode Evan Goode <mail@evangoo.de>
-
@sikmir Nikolay Korotkiy <sikmir@disroot.org>
-
@booxter Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
-
@aaronjheng Aaron Jheng <wentworth@outlook.com>
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>