NetSight
medium5.5

CVE-2021-3602

An information disclosure flaw was found in Buildah, when building containers using chroot isolation.

Impact

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

VendorProductAffected versions
Buildah ProjectBuildah
before 1.16.8
from 1.17.0 before 1.17.2
from 1.19.0 before 1.19.9
from 1.21.0 before 1.21.3
RedhatEnterprise Linux
Version 8.0
RedhatEnterprise Linux For Ibm Z Systems
Version 8.0
RedhatEnterprise Linux For Power Little Endian
Version 8.0

Weakness classification

References