Loading advisory.
Loading advisory.
Buildah processes using chroot isolation may leak environment values to intermediate processes
When running processes using "chroot" isolation, the process being run can examine the environment variables of its immediate parent and grandparent processes (CVE-2021-3602).
Published 2021-07-19 15:19 UTC · Modified 2026-09-10 03:49 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| github.com/containers/buildah | Go | < 1.16.8 >= 1.17.0, < 1.17.2 >= 1.18.0, < 1.19.9 >= 1.20.0, < 1.21.3 < 1.22.0 | 1.16.8, 1.17.2, 1.19.9, 1.21.3, 1.22.0 | go get github.com/containers/buildah@v1.16.8go get github.com/containers/buildah@v1.17.2go get github.com/containers/buildah@v1.19.9go get github.com/containers/buildah@v1.21.3go get github.com/containers/buildah@v1.22.0 |
When running processes using "chroot" isolation, the process being run can examine the environment variables of its immediate parent and grandparent processes (CVE-2021-3602). This isolation type is often used when running buildah in unprivileged containers, and it is often used to do so in CI/CD environments. If sensitive information is exposed to the original buildah process through its environment, that information will unintentionally be shared with child processes which it starts as part of handling RUN instructions or during buildah run. The commands that buildah is instructed to run can read that information if they choose to.
Users should upgrade packages, or images which contain packages, to include version 1.21.3 or later.
As a workaround, invoking buildah in a container under env -i to have it started with a reinitialized environment should prevent the leakage.
If you have any questions or comments about this advisory:
Open an issue in buildah
Email us at the buildah general mailing list, or the podman security mailing list if it's sensitive.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.003 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.003 | first score | v2026.06.15 |