Azure Linux Advisory
AZL-44154
CVE-2021-3602 affecting package buildah for versions less than 1.41.4-2
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Azure Linux:3 | buildah | All versions before 1.41.4-2 (fixed in 1.41.4-2) |