GHSA-fhqq-8f65-5xfc
GitHub Security Advisory
Improper Input Validation in Buildah and Podman
✓ GitHub Reviewed
MODERATE
Has CVE
Advisory 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
Go
github.com/containers/buildah
Affected versions:
0
(fixed in 1.37.4)
Go
github.com/containers/podman/v5
Affected versions:
0
(fixed in 5.2.4)
Go
github.com/containers/podman
Affected versions:
0
(fixed in 5.2.4)
Go
github.com/containers/podman/v2
Affected versions:
0
(fixed in 5.2.4)
Go
github.com/containers/podman/v3
Affected versions:
0
(fixed in 5.2.4)
Go
github.com/containers/podman/v4
Affected versions:
0
(fixed in 5.2.4)
Related CVEs
Key Information
5.0
/10
Dataset
Last updated: June 18, 2025 6:25 AM
Data from GitHub Advisory Database. This information is provided for research and educational purposes.