CVE-2021-3602: Buildah Project Buildah
Medium severity, CVSS 5.5. EPSS: 0.3% probability of exploitation activity in the next 30 days.
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).
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Buildah Project Buildah, before 1.16.8: fixed in 1.16.8
- Buildah Project Buildah, from 1.17.0, before 1.17.2: fixed in 1.17.2
- Buildah Project Buildah, from 1.19.0, before 1.19.9: fixed in 1.19.9
- Buildah Project Buildah, from 1.21.0, before 1.21.3: fixed in 1.21.3
Affected products
- Buildah Project Buildah: before 1.16.8 (fixed in 1.16.8); from 1.17.0, before 1.17.2 (fixed in 1.17.2); from 1.19.0, before 1.19.9 (fixed in 1.19.9); from 1.21.0, before 1.21.3 (fixed in 1.21.3)
- Red Hat Enterprise Linux: version 8.0 only
- Red Hat Enterprise Linux For IBM Z Systems: version 8.0 only
- Red Hat Enterprise Linux For Power Little Endian: version 8.0 only
Affected packages
Published 2022-03-03. Last modified 2026-06-17.