Information disclosure in Buildah Project

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

Vulnerability class: Information Disclosure

EPSS: 0.003 (25.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-3602?
CVE-2021-3602 is a medium-severity vulnerability in Buildah Project, classified under Information Disclosure. CVSS score: 5.5/10. Published 2022-03-03.
How severe is CVE-2021-3602?
Medium severity. CVSS v3 base score is 5.5 out of 10.
Is CVE-2021-3602 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.