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://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 |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
History
No history.
Information
Published : 2022-03-03 19:15
Updated : 2024-02-28 19:09
NVD link : CVE-2021-3602
Mitre link : CVE-2021-3602
CVE.ORG link : CVE-2021-3602
JSON object : View
Products Affected
redhat
- enterprise_linux
- enterprise_linux_for_ibm_z_systems
- enterprise_linux_for_power_little_endian
buildah_project
- buildah