CVSS 3.1
5.5 mediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NMedium (5.5). EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/containers/buildah 1.16.8, 1.17.2, 1.19.9.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:Ngithub.com/containers/buildah (Go): fixed in 1.16.8, 1.17.2, 1.19.9, 1.21.3, 1.22.0Explain CVE-2021-3602 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3602?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3602?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3602 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| buildah_project:buildah | before 1.16.8 |
| buildah_project:buildah | from 1.17.0 before 1.17.2 |
| buildah_project:buildah | from 1.19.0 before 1.19.9 |
| buildah_project:buildah | from 1.21.0 before 1.21.3 |
| redhat:enterprise_linux | 8.0 |
| redhat:enterprise_linux_for_ibm_z_systems | 8.0 |
| redhat:enterprise_linux_for_power_little_endian | 8.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-7638-r9r3-rmjj | Go | github.com/containers/buildah | <1.16.8 | 1.16.8 |
| GHSA-7638-r9r3-rmjj | Go | github.com/containers/buildah | >=1.17.0 <1.17.2 | 1.17.2 |
| GHSA-7638-r9r3-rmjj | Go | github.com/containers/buildah | >=1.18.0 <1.19.9 | 1.19.9 |
| GHSA-7638-r9r3-rmjj | Go | github.com/containers/buildah | >=1.20.0 <1.21.3 | 1.21.3 |
| GO-2022-0345 | Go | github.com/containers/buildah | <1.22.0 | 1.22.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | golang-github-containers-buildah | 1.22.3+ds1-1 | DEBIAN-CVE-2021-3602 |
| Ubuntu | 22.04:LTS, 25.10, 26.10 and 2 more | golang-github-containers-buildah | no fix listed | UBUNTU-CVE-2021-3602 |
| Red Hat | enterprise_linux:8::appstream | buildah, buildah-tests, buildah-debuginfo and 2 more | 0:1.11.6-9.module+el8.5.0+12239+ec01067b | RHSA-2021:4221 |
| Red Hat | enterprise_linux:8::appstream | buildah, buildah-tests, buildah-debuginfo and 2 more | 0:1.19.9-1.module+el8.5.0+12236+c988d830 | RHSA-2021:4222 |
| Red Hat | enterprise_linux:8::appstream | buildah, buildah-tests, buildah-debuginfo and 2 more | 0:1.22.3-2.module+el8.5.0+12582+56d94c81 | RHSA-2021:4154 |
| Red Hat | enterprise_linux:8::appstream | cockpit-podman | 0:11-1.module+el8.5.0+10223+f7559c42 | RHSA-2021:4221 |
| Red Hat | enterprise_linux:8::appstream | cockpit-podman | 0:29-2.module+el8.5.0+10306+3f72d66d | RHSA-2021:4222 |
| Red Hat | enterprise_linux:8::appstream | cockpit-podman | 0:33-1.module+el8.5.0+12582+56d94c81 | RHSA-2021:4154 |
| Red Hat | enterprise_linux:8::appstream | conmon | 2:2.0.15-1.module+el8.5.0+10223+f7559c42 | RHSA-2021:4221 |
| Red Hat | enterprise_linux:8::appstream | conmon, conmon-debuginfo, conmon-debugsource | 2:2.0.26-1.module+el8.5.0+10306+3f72d66d | RHSA-2021:4222 |
| Red Hat | enterprise_linux:8::appstream | conmon, conmon-debuginfo, conmon-debugsource | 2:2.0.29-1.module+el8.5.0+12582+56d94c81 | RHSA-2021:4154 |
| Red Hat | enterprise_linux:8::appstream | container-selinux | 2:2.130.0-1.module+el8.5.0+10223+f7559c42 | RHSA-2021:4221 |
| Red Hat | enterprise_linux:8::appstream | container-selinux | 2:2.167.0-1.module+el8.5.0+12582+56d94c81 | RHSA-2021:4154 |
| Red Hat | enterprise_linux:8::appstream | container-selinux | 2:2.167.0-1.module+el8.5.0+12609+beaa716d | RHSA-2021:4222 |
| 36 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 12 more | libcontainers-common | 20210626-150100.3.15.1 | SUSE-SU-2022:3312-1 |
| SUSE | Linux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3 | libcontainers-common | 20210626-150300.8.3.1 | SUSE-SU-2022:23018-1 |
| SUSE | Linux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3 | libseccomp | 2.5.3-150300.10.5.1 | SUSE-SU-2022:23018-1 |
| SUSE | Linux Enterprise Micro 5.1, Linux Enterprise Module for Containers 15 SP3 | conmon | 2.0.30-150300.8.3.1 | SUSE-SU-2022:23018-1 |
| SUSE | Linux Enterprise Micro 5.1, Linux Enterprise Module for Containers 15 SP3 | podman | 3.4.4-150300.9.3.2 | SUSE-SU-2022:23018-1 |
| openSUSE | Leap 15.3 | conmon | 2.0.30-150300.8.3.1 | openSUSE-SU-2022:23018-1 |
| openSUSE | Leap 15.3 | libcontainers-common | 20210626-150300.8.3.1 | openSUSE-SU-2022:23018-1 |
| openSUSE | Leap 15.3 | libseccomp | 2.5.3-150300.10.5.1 | openSUSE-SU-2022:23018-1 |
| openSUSE | Leap 15.3 | podman | 3.4.4-150300.9.3.2 | openSUSE-SU-2022:23018-1 |
| openSUSE | Tumbleweed | libcontainers-common | 20210626-7.1 | openSUSE-SU-2024:11757-1 |
| AlmaLinux | 8 | buildah, buildah-tests | 1.19.9-1.module_el8.5.0+2614+87221ce8 | ALSA-2021:4222 |
| AlmaLinux | 8 | cockpit-podman | 11-1.module_el8.5.0+108+00865455 | ALSA-2021:4221 |
| AlmaLinux | 8 | cockpit-podman | 11-1.module_el8.5.0+2635+e4386a39 | ALSA-2021:4221 |
| AlmaLinux | 8 | cockpit-podman | 29-2.module_el8.5.0+2614+87221ce8 | ALSA-2021:4222 |
| AlmaLinux | 8 | cockpit-podman | 29-2.module_el8.6.0+2876+9ed4eae2 | ALSA-2021:4222 |
| AlmaLinux | 8 | conmon | 2:2.0.15-1.module_el8.5.0+108+00865455 | ALSA-2021:4221 |
| AlmaLinux | 8 | conmon | 2:2.0.15-1.module_el8.5.0+2635+e4386a39 | ALSA-2021:4221 |
| AlmaLinux | 8 | conmon | 2:2.0.26-1.module_el8.5.0+2614+87221ce8 | ALSA-2021:4222 |
| AlmaLinux | 8 | conmon | 2:2.0.26-1.module_el8.6.0+2876+9ed4eae2 | ALSA-2021:4222 |
| AlmaLinux | 8 | container-selinux | 2:2.130.0-1.module_el8.5.0+108+00865455 | ALSA-2021:4221 |
| AlmaLinux | 8 | container-selinux | 2:2.130.0-1.module_el8.5.0+2635+e4386a39 | ALSA-2021:4221 |
| AlmaLinux | 8 | container-selinux | 2:2.167.0-1.module_el8.5.0+2614+87221ce8 | ALSA-2021:4222 |
| 45 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | buildah | 0:1.11.6-9.module+el8.5.0+708+6758137d | RLSA-2021:4221 |
| Rocky Linux | 8 | buildah | 0:1.19.9-1.module+el8.5.0+709+440d5e7e | RLSA-2021:4222 |
| Rocky Linux | 8 | buildah | 0:1.22.3-2.module+el8.5.0+710+4c471e88 | RLSA-2021:4154 |
| Rocky Linux | 8 | cockpit-podman | 0:11-1.module+el8.4.0+559+c02fa3b2 | RLSA-2021:4221 |
| Rocky Linux | 8 | cockpit-podman | 0:11-1.module+el8.5.0+708+6758137d | RLSA-2021:4221 |
| Rocky Linux | 8 | cockpit-podman | 0:11-1.module+el8.5.0+770+e2f49861 | RLSA-2021:4221 |
| Rocky Linux | 8 | cockpit-podman | 0:29-2.module+el8.4.0+556+40122d08 | RLSA-2021:4222 |
| Rocky Linux | 8 | cockpit-podman | 0:29-2.module+el8.5.0+709+440d5e7e | RLSA-2021:4222 |
| Rocky Linux | 8 | cockpit-podman | 0:29-2.module+el8.6.0+783+10209741 | RLSA-2021:4222 |
| Rocky Linux | 8 | cockpit-podman | 0:29-2.module+el8.7.0+1076+9b1c11c1 | RLSA-2021:4222 |
| Rocky Linux | 8 | cockpit-podman | 0:33-1.module+el8.5.0+710+4c471e88 | RLSA-2021:4154 |
| Rocky Linux | 8 | conmon | 2:2.0.15-1.module+el8.4.0+559+c02fa3b2 | RLSA-2021:4221 |
| 94 more for Rocky Linux in the JSON. | ||||
| Alpine | v3.14, v3.15, v3.16 and 8 more | buildah | 1.21.3-r0 | ALPINE-CVE-2021-3602 |
| Alpine | v3.14, v3.15, v3.16 and 8 more | podman | 3.2.3-r0 | ALPINE-CVE-2021-3602 |
| Azure Linux | 2 | cri-o | 1.21.7-2 | AZL-39837 |
| Azure Linux | 3 | buildah | 1.41.4-2 | AZL-44154 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
OpenShift Container Platform 4's builder container is not vulnerable to this flaw as it uses OCI isolation (i.e. using runc) and does not use chroot isolation.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | container-tools:rhel8-8050020210921082437.faa19cc5 | Fixed 2021-11-09 | RHSA-2021:4154 |
| Red Hat Enterprise Linux 8 | container-tools:2.0-8050020210817115648.faa19cc5 | Fixed 2021-11-09 | RHSA-2021:4221 |
| Red Hat Enterprise Linux 8 | container-tools:3.0-8050020210915114620.faa19cc5 | Fixed 2021-11-09 | RHSA-2021:4222 |
| Red Hat Enterprise Linux 7 | buildah | Out of support scope | |
| Red Hat Enterprise Linux 7 | podman | Out of support scope | |
| Red Hat Enterprise Linux 9 | buildah | Not affected | |
| Red Hat Enterprise Linux 9 | podman | Not affected | |
| Red Hat OpenShift Container Platform 3.11 | podman | Will not fix | |
| Red Hat OpenShift Container Platform 4 | buildah | Will not fix | |
| Red Hat OpenShift Container Platform 4 | cri-o | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-docker-builder | Not affected | |
| Red Hat OpenShift Container Platform 4 | podman | Will not fix | |
| Red Hat Quay 3 | quay/quay-builder-rhel8 | Will not fix |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3602.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).