~ / search / GHSA-586p-749j-fhwp

GHSA-586p-749j-fhwp

Buildah allows arbitrary directory mount

Source: GitHub Advisory Database (reviewed) Moderate CVE-2024-9675

Packages

EcosystemPackageAffectedFixed in
Go github.com/containers/buildah < 1.38.0 1.38.0

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.