Description
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).
Published: 2022-03-03
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

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
History

No history.

Subscriptions

Buildah Project Buildah
Redhat Enterprise Linux Enterprise Linux For Ibm Z Systems Enterprise Linux For Power Little Endian
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

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

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

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.

Weaknesses