ADVISORIES

Alpine Security Database

ALPINE-CVE-2024-9675

Details

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.

Affected packages

EcosystemPackageAffected versions
Alpine:v3.20buildah
All versions before 1.37.5-r0 (fixed in 1.37.5-r0)
Alpine:v3.21buildah
All versions before 1.37.5-r0 (fixed in 1.37.5-r0)
Alpine:v3.22buildah
All versions before 1.37.5-r0 (fixed in 1.37.5-r0)
Alpine:v3.23buildah
All versions before 1.37.5-r0 (fixed in 1.37.5-r0)
Alpine:v3.24buildah
All versions before 1.37.5-r0 (fixed in 1.37.5-r0)
Alpine:v3.20podman
All versions before 5.2.5-r0 (fixed in 5.2.5-r0)
Alpine:v3.21podman
All versions before 5.2.5-r0 (fixed in 5.2.5-r0)
Alpine:v3.22podman
All versions before 5.2.5-r0 (fixed in 5.2.5-r0)
Alpine:v3.23podman
All versions before 5.2.5-r0 (fixed in 5.2.5-r0)
Alpine:v3.24podman
All versions before 5.2.5-r0 (fixed in 5.2.5-r0)

References