ADVISORIES

Red Hat VEX

RHVEX-CVE-2021-3602

buildah: Host environment variables leaked in build container when using chroot isolation

Moderate No fix available 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
Red Hat:enterprise_linux:7buildah
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7podman
All versions, no fix (out of support scope)

References