ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2021-3602

Details

An information disclosure flaw was found in Buildah, when building containers using chroot isolation. Running processes in container builds (e.g. Dockerfile RUN commands) can access environment variables from parent and grandparent processes. When run in a container in a CI/CD environment, environment variables may include sensitive information that was shared with the container in order to be used only by Buildah itself (e.g. container registry credentials).

Affected packages

EcosystemPackageAffected versions
Debian:12golang-github-containers-buildah
All versions before 1.22.3+ds1-1 (fixed in 1.22.3+ds1-1)
Debian:13golang-github-containers-buildah
All versions before 1.22.3+ds1-1 (fixed in 1.22.3+ds1-1)
Debian:14golang-github-containers-buildah
All versions before 1.22.3+ds1-1 (fixed in 1.22.3+ds1-1)

References