GHSA-7638-r9r3-rmjj · Severity: medium · Ecosystem: go — Buildah processes using chroot isolation may leak environment values to intermediate processes
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).
Conclusion & alert: CVE-2021-3602 is rated Low Risk (30.4/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.32%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.17% | 0.32% | +0.16% |
| 2 | 2026-05-26 | 0.12% | 0.17% | +0.04% |
| 3 | 2026-03-11 | — | 0.12% | — |
Full EPSS history (9 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.5 | 3.1 | MEDIUM |
|
1.8 | 3.6 | [email protected] |
| 1.9 | 2.0 | LOW |
|
3.4 | 2.9 | [email protected] |
GHSA-7638-r9r3-rmjj · Severity: medium · Ecosystem: go — Buildah processes using chroot isolation may leak environment values to intermediate processes
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
medium | CVE-2021-3602: 2 source package rows (buildah, podman); 18 state rows across 7 repos (3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 14, open 4. | https://security.alpinelinux.org/vuln/CVE-2021-3602 |
debian
|
not yet assigned | CVE-2021-3602 not yet assigned priority: Debian including 1 source packages (golang-github-containers-buildah), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. | https://security-tracker.debian.org/tracker/CVE-2021-3602 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2021-3602 |
suse
|
medium | CVE-2021-3602 severity moderate: SUSE including 75 source package names (1.8.6.0.3.2.5:libseccomp2-2.5.3-150300.10.5.1, 14.1-rev1.0.0-build2.2.43:libseccomp2-2.5.3-150300.10.5.1, …), 176 product×package rows across 82 product lines (Container bci/bci-init, Container ses/7.1/ceph/haproxy, … (82 product lines)): Fixed 158, Will Not Fix 16, Known Not Affected 2. | https://www.suse.com/security/cve/CVE-2021-3602/ |
ubuntu
|
medium | CVE-2021-3602 medium priority: Ubuntu including 1 source packages (golang-github-containers-buildah), 16 status rows across 16 suites (bionic, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 9, DNE 3, needed 3, needs-triage 1. | https://ubuntu.com/security/CVE-2021-3602 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| buildah_project | buildah | < 1.16.8 | cpe:2.3:a:buildah_project:buildah:*:*:*:*:*:*:*:* |
| buildah_project | buildah | >= 1.17.0, < 1.17.2 | cpe:2.3:a:buildah_project:buildah:*:*:*:*:*:*:*:* |
| buildah_project | buildah | >= 1.19.0, < 1.19.9 | cpe:2.3:a:buildah_project:buildah:*:*:*:*:*:*:*:* |
| buildah_project | buildah | >= 1.21.0, < 1.21.3 | cpe:2.3:a:buildah_project:buildah:*:*:*:*:*:*:*:* |
| redhat | enterprise_linux | 8.0 | cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* |
| redhat | enterprise_linux_for_ibm_z_systems | 8.0 | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:8.0:*:*:*:*:*:*:* |
| redhat | enterprise_linux_for_power_little_endian | 8.0 | cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:8.0:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=1969264 | Issue Tracking Patch Third Party Advisory |
| https://github.com/containers/buildah/commit/a468ce0ffd347035d53ee0e26c205ef604097fb0 | Patch Third Party Advisory |
| https://github.com/containers/buildah/security/advisories/GHSA-7638-r9r3-rmjj | Third Party Advisory |
| https://ubuntu.com/security/CVE-2021-3602 | Patch Third Party Advisory |