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).
References
Link | Resource |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=1969264 | Issue Tracking Patch Third Party Advisory |
https://ubuntu.com/security/CVE-2021-3602 | Patch Third Party Advisory |
https://github.com/containers/buildah/security/advisories/GHSA-7638-r9r3-rmjj | Third Party Advisory |
https://github.com/containers/buildah/commit/a468ce0ffd347035d53ee0e26c205ef604097fb0 | Patch Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Information
Published : 2022-03-03 11:15
Updated : 2022-10-24 07:22
NVD link : CVE-2021-3602
Mitre link : CVE-2021-3602
JSON object : View
CWE
CWE-212
Improper Removal of Sensitive Information Before Storage or Transfer
Products Affected
buildah_project
- buildah
redhat
- enterprise_linux_for_ibm_z_systems
- enterprise_linux_for_power_little_endian
- enterprise_linux