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).
- Score
- CVSS 3.1 5.5 Medium
- Status
- Modified - secalert@redhat.com
- Published
- 2022-03-03
- Last modified
- 2024-08-03
- Weaknesses
- CWE-200, CWE-212
Affected products
- Buildah (Buildah Project)
- Enterprise Linux (Redhat)
- Enterprise Linux For Ibm Z Systems (Redhat)
- Enterprise Linux For Power Little Endian (Redhat)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1969264
- https://github.com/containers/buildah/commit/a468ce0ffd347035d53ee0e26c205ef604097fb0
- https://github.com/containers/buildah/security/advisories/GHSA-7638-r9r3-rmjj
- https://ubuntu.com/security/CVE-2021-3602