{"id":"ALPINE-CVE-2021-3602","details":"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).","modified":"2026-11-03T06:32:40.797898907Z","published":"2022-03-03T19:15:08.107Z","upstream":["CVE-2021-3602"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2021-3602"}],"affected":[{"package":{"name":"buildah","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/buildah?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.17.0"},{"fixed":"1.21.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3602.json"}},{"package":{"name":"buildah","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/buildah?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.17.0"},{"fixed":"1.21.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3602.json"}},{"package":{"name":"buildah","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/buildah?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.17.0"},{"fixed":"1.21.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3602.json"}},{"package":{"name":"buildah","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/buildah?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.17.0"},{"fixed":"1.21.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3602.json"}},{"package":{"name":"buildah","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/buildah?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.17.0"},{"fixed":"1.21.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3602.json"}},{"package":{"name":"buildah","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/buildah?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.17.0"},{"fixed":"1.21.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3602.json"}},{"package":{"name":"buildah","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/buildah?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.17.0"},{"fixed":"1.21.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3602.json"}},{"package":{"name":"buildah","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/buildah?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.17.0"},{"fixed":"1.21.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3602.json"}},{"package":{"name":"buildah","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/buildah?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.17.0"},{"fixed":"1.21.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3602.json"}},{"package":{"name":"buildah","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/buildah?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.17.0"},{"fixed":"1.21.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3602.json"}},{"package":{"name":"buildah","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/buildah?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.17.0"},{"fixed":"1.21.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3602.json"}},{"package":{"name":"podman","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/podman?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3602.json"}},{"package":{"name":"podman","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/podman?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3602.json"}},{"package":{"name":"podman","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/podman?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3602.json"}},{"package":{"name":"podman","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/podman?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3602.json"}},{"package":{"name":"podman","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/podman?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3602.json"}},{"package":{"name":"podman","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/podman?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3602.json"}},{"package":{"name":"podman","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/podman?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3602.json"}},{"package":{"name":"podman","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/podman?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3602.json"}},{"package":{"name":"podman","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/podman?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3602.json"}},{"package":{"name":"podman","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/podman?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3602.json"}},{"package":{"name":"podman","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/podman?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3602.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}