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). Patch: https://github.com/containers/buildah/commit/a468ce0ffd347035d53ee0e26c205ef604097fb0 URL says 1.21.3, 1.19.9, 1.17.2, 1.16.8 are patched. Looks like we don't have any of these branches anymore except 1.21, making 1.23.1 apparently the first fixed version. Please cleanup.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6ee53cac227e435bdc70fee8fd97dd4667df11b commit c6ee53cac227e435bdc70fee8fd97dd4667df11b Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2022-03-05 01:30:14 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2022-03-05 01:30:33 +0000 app-containers/buildah: Remove vulnerable versions Bug: https://bugs.gentoo.org/834540 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Zac Medico <zmedico@gentoo.org> app-containers/buildah/Manifest | 3 -- app-containers/buildah/buildah-1.21.1-r1.ebuild | 51 ------------------------- app-containers/buildah/buildah-1.24.0.ebuild | 51 ------------------------- app-containers/buildah/buildah-1.24.1.ebuild | 51 ------------------------- 4 files changed, 156 deletions(-)
Thanks! Minimal impact so no GLSA, all done.