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
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.003 (23.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 23rd percentile — 23.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Buildah Project
- Red Hat Enterprise Linux — versions 8.0
- Red Hat Enterprise Linux For IBM Z Systems — versions 8.0
- Red Hat Enterprise Linux For Power Little Endian — versions 8.0
- Buildah — versions Affects v1.21.2, v1.20.0, v1.19.8, v1.18.0, v1.17.1, v1.16.7, Fixed in v1.21.3, v1.19.9, v1.17.2, v1.16.8, v1.22.0 and above.
Weakness classification (CWE)
Public proof-of-concept exploits
References
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- ubuntu.com/security/CVE-2021-3602 (Patch, Third Party Advisory)
- github.com/containers/buildah/security/advisories/GHSA-7638-r9r3-rmjj (Third Party Advisory)
- github.com/containers/buildah/commit/a468ce0ffd347035d53ee0e26c205ef604097fb0 (Patch, Third Party Advisory)
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.