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).
Advisories
Source ID Title
EUVD EUVD EUVD-2021-1446 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).
Github GHSA Github GHSA GHSA-7638-r9r3-rmjj Buildah processes using chroot isolation may leak environment values to intermediate processes
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2024-08-03T17:01:08.065Z

Reserved: 2021-06-15T00:00:00

Link: CVE-2021-3602

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-03-03T19:15:08.107

Modified: 2024-11-21T06:21:57.180

Link: CVE-2021-3602

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-07-15T14:00:00Z

Links: CVE-2021-3602 - Bugzilla

cve-icon OpenCVE Enrichment

No data.