vulnerability
Ubuntu: (CVE-2021-3602): golang-github-containers-buildah vulnerability
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 2 | (AV:L/AC:M/Au:N/C:P/I:N/A:N) | Mar 3, 2022 | Jun 26, 2025 | Aug 18, 2025 |
Severity
2
CVSS
(AV:L/AC:M/Au:N/C:P/I:N/A:N)
Published
Mar 3, 2022
Added
Jun 26, 2025
Modified
Aug 18, 2025
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).
Solution
no-fix-ubuntu-package
References
- CVE-2021-3602
- https://attackerkb.com/topics/CVE-2021-3602
- CWE-200
- CWE-212
- URL-https://github.com/containers/buildah/commit/23c478b815fb93c094070baa336bcb6a27c01683
- URL-https://github.com/containers/buildah/commit/a468ce0ffd347035d53ee0e26c205ef604097fb0
- URL-https://github.com/containers/buildah/commit/f4f2a7fc78fa4f12e2f6e6c4ab450aae0d182f3e
- URL-https://github.com/containers/buildah/security/advisories/GHSA-7638-r9r3-rmjj
- URL-https://www.cve.org/CVERecord?id=CVE-2021-3602
NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.