ADVISORIES

Vulnerability

CVE-2021-3602

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

27 advisories report this vulnerability, across 13 ecosystems.

Advisories

  • ALPINE-CVE-2021-3602

    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…

    CVE-2021-3602 Alpine Updated 17 November 2026
  • ALPINE-EDGE-CVE-2021-3602
    CVE-2021-3602 Alpine Updated 18 November 2026
  • ALSA-2021:4154

    Moderate: container-tools:rhel8 security, bug fix, and enhancement update

    CVE-2021-20291CVE-2021-3602 AlmaLinux Updated 29 October 2026
  • ALSA-2021:4221

    Moderate: container-tools:2.0 security update

    CVE-2021-3602 AlmaLinux Updated 29 October 2026
  • ALSA-2021:4222

    Moderate: container-tools:3.0 security and bug fix update

    CVE-2021-3602 AlmaLinux Updated 29 October 2026
  • AZL-39837

    CVE-2021-3602 affecting package cri-o for versions less than 1.21.7-2

    CVE-2021-3602 Azure Linux Updated 21 April 2026
  • AZL-44154

    CVE-2021-3602 affecting package buildah for versions less than 1.41.4-2

    CVE-2021-3602 Azure Linux Updated 21 April 2026
  • CGA-2444-jgxv-q53j
    CVE-2021-3602 ChainguardWolfi Updated 5 November 2026
  • CGA-cm32-rwx9-f844
    CVE-2021-3602 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-CVE-2021-3602

    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…

    CVE-2021-3602 Debian Updated 23 October 2026
  • ELSA-2021-4154

    ELSA-2021-4154: container-tools:ol8 security, bug fix, and enhancement update (MODERATE)

    Moderate CVE-2021-20291CVE-2021-3602 Oracle Linux Updated 16 November 2021
  • ELSA-2021-4221

    ELSA-2021-4221: container-tools:2.0 security update (MODERATE)

    Moderate CVE-2021-3602 Oracle Linux Updated 16 November 2021
  • ELSA-2021-4222

    ELSA-2021-4222: container-tools:3.0 security and bug fix update (MODERATE)

    Moderate CVE-2021-3602 Oracle Linux Updated 16 November 2021
  • GHSA-7638-r9r3-rmjj

    Buildah processes using chroot isolation may leak environment values to intermediate processes

    Moderate CVE-2021-3602 Go Updated 10 September 2026
  • GO-2022-0345

    Environment variable leakage in github.com/containers/buildah

    CVE-2021-3602 Go Updated 4 February 2026
  • RHSA-2021:4154

    Red Hat Security Advisory: container-tools:rhel8 security, bug fix, and enhancement update

    CVE-2021-20291CVE-2021-3602 Red Hat Updated 23 November 2026
  • RHSA-2021:4221

    Red Hat Security Advisory: container-tools:2.0 security update

    CVE-2021-3602 Red Hat Updated 23 November 2026
  • RHSA-2021:4222

    Red Hat Security Advisory: container-tools:3.0 security and bug fix update

    CVE-2021-3602 Red Hat Updated 23 November 2026
  • RHVEX-CVE-2021-3602

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

    Moderate CVE-2021-3602 Red Hat Updated 23 November 2026
  • RLSA-2021:4154

    Moderate: container-tools:rhel8 security, bug fix, and enhancement update

    CVE-2021-20291CVE-2021-3602 Rocky Linux Updated 4 February 2026
  • RLSA-2021:4221

    Moderate: container-tools:2.0 security update

    CVE-2021-3602 Rocky Linux Updated 4 February 2026
  • RLSA-2021:4222

    Moderate: container-tools:3.0 security and bug fix update

    CVE-2021-3602 Rocky Linux Updated 5 February 2026
  • SUSE-SU-2022:23018-1

    Security update for conmon, libcontainers-common, libseccomp, podman

    CVE-2020-14370CVE-2020-15157CVE-2021-20199CVE-2021-20291 SUSE Updated 4 February 2026
  • SUSE-SU-2022:3312-1

    Security update for libcontainers-common

    CVE-2020-14370CVE-2020-15157CVE-2021-20199CVE-2021-20291 SUSE Updated 4 February 2026
  • UBUNTU-CVE-2021-3602

    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…

    CVE-2021-3602 Ubuntu Updated 17 October 2026
  • openSUSE-SU-2022:23018-1

    Security update for conmon, libcontainers-common, libseccomp, podman

    CVE-2020-14370CVE-2020-15157CVE-2021-20199CVE-2021-20291 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:11757-1

    libcontainers-common-20210626-7.1 on GA media

    CVE-2020-14370CVE-2020-15157CVE-2021-20199CVE-2021-20291 openSUSE Updated 4 February 2026

References