Buildah allows arbitrary directory mount
Moderate severity
GitHub Reviewed
Published
Oct 9, 2024
to the GitHub Advisory Database
•
Updated Dec 12, 2024
Package
Affected versions
< 1.38.0
Patched versions
1.38.0
Description
Published by the National Vulnerability Database
Oct 9, 2024
Published to the GitHub Advisory Database
Oct 9, 2024
Reviewed
Oct 9, 2024
Last updated
Dec 12, 2024
A vulnerability was found in Buildah. Cache mounts do not properly validate that user-specified paths for the cache are within our cache directory, allowing a
RUN
instruction in a Container file to mount an arbitrary directory from the host (read/write) into the container as long as those files can be accessed by the user running Buildah.References