VYPR
Medium severity5.5NVD Advisory· Published Mar 3, 2022· Updated Jun 17, 2026

CVE-2021-3602

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).

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
github.com/containers/buildahGo
< 1.16.81.16.8
github.com/containers/buildahGo
>= 1.17.0, < 1.17.21.17.2
github.com/containers/buildahGo
>= 1.18.0, < 1.19.91.19.9
github.com/containers/buildahGo
>= 1.20.0, < 1.21.31.21.3

Affected products

57

Patches

Vulnerability mechanics

References

7

News mentions

0

No linked articles in our index yet.