What’s Vulnerable › Vulnerabilities

CVE-2021-3602

Description

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 products

How to fix

Upgrade to a fixed version: Buildah Project Buildah 1.16.8, 1.17.2, 1.19.9, 1.21.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-3602 or the next vulnerability affects your stack