ADVISORIES

Go Vulnerability Database

GO-2024-2658

Container escape at build time in github.com/containers/buildah

Details

A crafted container file can use a dummy image with a symbolic link to the host filesystem as a mount source and cause the mount operation to mount the host filesystem during a build-time RUN step. The commands inside the RUN step will then have read-write access to the host filesystem.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/containers/buildah
All versions before 1.35.1 (fixed in 1.35.1)

References