CVE-2021-3602
Record from NVD · Published July 19, 2021
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).
EPSS 0.32% · 25.4th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/containers/buildah/chroot | Go Modules | 1.21.2, 1.19.8, 1.17.1, 1.16.7 |
| github.com/containers/buildah | Go Modules | 1.21.2, 1.19.8, 1.17.1, 1.16.7 |
| podman | Alpine | 3.2.3-r0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| buildah_project | buildah | 1.17.0, 0, 1.19.0 |
| redhat | enterprise_linux | 8.0 |
| redhat | enterprise_linux_for_power_little_endian | 8.0 |
| redhat | enterprise_linux_for_ibm_z_systems | 8.0 |
Timeline
- Jul 19, 2021 CVE Published
- Mar 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Distribution Patch (39 in total, the first dated here)
- Mar 17, 2026 Security Advisory (45 in total, the first dated here)
- Jul 29, 2026 Coalition ESS Score
- Sep 20, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-3602
vulnetix vdb fixes CVE-2021-3602
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-3602/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart