CVE-2021-3602 Details
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).
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=1969264 | CVE | Issue TrackingPatchThird Party Advisory |
| https://github.com/containers/buildah/commit/a468ce0ffd347035d53ee0e26c205ef604097fb0 | CVE | PatchThird Party Advisory |
| https://github.com/containers/buildah/security/advisories/GHSA-7638-r9r3-rmjj | CVE | Third Party Advisory |
| https://ubuntu.com/security/CVE-2021-3602 | CVE | PatchThird Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=1969264 | [email protected] | Issue TrackingPatchThird Party Advisory |
| https://github.com/containers/buildah/commit/a468ce0ffd347035d53ee0e26c205ef604097fb0 | [email protected] | PatchThird Party Advisory |
| https://github.com/containers/buildah/security/advisories/GHSA-7638-r9r3-rmjj | [email protected] | Third Party Advisory |
| https://ubuntu.com/security/CVE-2021-3602 | [email protected] | PatchThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-212 | Improper Removal of Sensitive Information Before Storage or Transfer | [email protected] |
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| buildah project buildah | < 1.16.8 >= 1.17.0, < 1.17.2 >= 1.19.0, < 1.19.9 >= 1.21.0, < 1.21.3 |
CPE
Remediation
| |
| redhat enterprise linux | 8.0 |
CPE
Remediation
| |
| redhat enterprise linux for ibm z systems | 8.0 |
CPE
Remediation
| |
| redhat enterprise linux for power little endian | 8.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Oct 24, 2022 | Reanalysis | [email protected] |
| Mar 10, 2022 | Initial Analysis | [email protected] |