CVE-2021-32760
published medium CVSS 3.1 · 5.0Archive package allows chmod of file outside of unpack target directory
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| containerd | — | containerd<= 1.4.7 · >= 1.5.0, <= 1.5.3 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2021-010 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2ECS-2023-029 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2NITRO-ENCLAVES-2021-010 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | containerd | Fixed | 1.5.4-r0 | Package fix record |
| Oracle Linux | 7 | containerdaarch64 | Advisory build | 0:1.4.8-1.el7 | ELSA-2021-15790 |
| SUSE / openSUSE | SLE-12 | containerdppc64le | Advisory build | 1.4.11-16.45.1 | SUSE-SU-2021:3336-1 |
| Ubuntu | bionic | containerd | Advisory build | 1.5.2-0ubuntu1~18.04.2 | USN-5012-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.13 | containerd | Fixed | 1.4.8-r0 | Package fix record |
| Alpine Linux | v3.14 | containerd | Fixed | 1.5.4-r0 | Package fix record |
| Alpine Linux | v3.15 | containerd | Fixed | 1.5.4-r0 | Package fix record |
| Alpine Linux | v3.16 | containerd | Fixed | 1.5.4-r0 | Package fix record |
| Alpine Linux | v3.17 | containerd | Fixed | 1.5.4-r0 | Package fix record |
| Alpine Linux | v3.18 | containerd | Fixed | 1.5.4-r0 | Package fix record |
| Alpine Linux | v3.19 | containerd | Fixed | 1.5.4-r0 | Package fix record |
| Alpine Linux | v3.20 | containerd | Fixed | 1.5.4-r0 | Package fix record |
| Alpine Linux | v3.21 | containerd | Fixed | 1.5.4-r0 | Package fix record |
| Alpine Linux | v3.22 | containerd | Fixed | 1.5.4-r0 | Package fix record |
| Alpine Linux | v3.23 | containerd | Fixed | 1.5.4-r0 | Package fix record |
| Alpine Linux | v3.24 | containerd | Fixed | 1.5.4-r0 | Package fix record |
| Oracle Linux | 7 | containerdaarch64 | Advisory build | 0:1.4.8-1.el7 | ELSA-2021-9373 |
| Oracle Linux | 7 | containerdx86_64 | Advisory build | 0:1.4.8-1.el7 | ELSA-2021-15790 |
| Oracle Linux | 7 | containerdx86_64 | Advisory build | 0:1.4.8-1.el7 | ELSA-2021-9373 |
| SUSE / openSUSE | SLE-12 | containerdppc64le | Advisory build | 1.4.4-16.42.1 | SUSE-SU-2021:2413-1 |
| SUSE / openSUSE | SLE-12 | containerds390x | Advisory build | 1.4.11-16.45.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12 | containerds390x | Advisory build | 1.4.4-16.42.1 | SUSE-SU-2021:2413-1 |
| SUSE / openSUSE | SLE-12 | containerdx86_64 | Advisory build | 1.4.11-16.45.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12 | containerdx86_64 | Advisory build | 1.4.4-16.42.1 | SUSE-SU-2021:2413-1 |
| SUSE / openSUSE | SLE-12-SP3 | containerdppc64le | Advisory build | 1.4.11-16.45.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP3 | containerdppc64le | Advisory build | 1.4.4-16.42.1 | SUSE-SU-2021:2413-1 |
| SUSE / openSUSE | SLE-12-SP3 | containerds390x | Advisory build | 1.4.11-16.45.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP3 | containerds390x | Advisory build | 1.4.4-16.42.1 | SUSE-SU-2021:2413-1 |
| SUSE / openSUSE | SLE-12-SP3 | containerdx86_64 | Advisory build | 1.4.11-16.45.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP3 | containerdx86_64 | Advisory build | 1.4.4-16.42.1 | SUSE-SU-2021:2413-1 |
| SUSE / openSUSE | SLE-12-SP4 | containerdppc64le | Advisory build | 1.4.11-16.45.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP4 | containerdppc64le | Advisory build | 1.4.4-16.42.1 | SUSE-SU-2021:2413-1 |
| SUSE / openSUSE | SLE-12-SP4 | containerds390x | Advisory build | 1.4.11-16.45.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP4 | containerds390x | Advisory build | 1.4.4-16.42.1 | SUSE-SU-2021:2413-1 |
| SUSE / openSUSE | SLE-12-SP4 | containerdx86_64 | Advisory build | 1.4.11-16.45.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP4 | containerdx86_64 | Advisory build | 1.4.4-16.42.1 | SUSE-SU-2021:2413-1 |
| SUSE / openSUSE | SLE-12-SP5 | containerdppc64le | Advisory build | 1.4.11-16.45.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP5 | containerdppc64le | Advisory build | 1.4.4-16.42.1 | SUSE-SU-2021:2413-1 |
| SUSE / openSUSE | SLE-12-SP5 | containerds390x | Advisory build | 1.4.11-16.45.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP5 | containerds390x | Advisory build | 1.4.4-16.42.1 | SUSE-SU-2021:2413-1 |
| SUSE / openSUSE | SLE-12-SP5 | containerdx86_64 | Advisory build | 1.4.11-16.45.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12-SP5 | containerdx86_64 | Advisory build | 1.4.4-16.42.1 | SUSE-SU-2021:2413-1 |
| SUSE / openSUSE | SLE-15 | containerdppc64le | Advisory build | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15 | containerds390x | Advisory build | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15 | containerdx86_64 | Advisory build | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15-SP1 | containerdaarch64 | Advisory build | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15-SP1 | containerdppc64le | Advisory build | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15-SP1 | containerds390x | Advisory build | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15-SP1 | containerdx86_64 | Advisory build | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15-SP2 | containerdaarch64 | Advisory build | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15-SP2 | containerdaarch64 | Advisory build | 1.4.4-5.36.1 | SUSE-SU-2021:2412-1 |
| SUSE / openSUSE | SLE-15-SP2 | containerdppc64le | Advisory build | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15-SP2 | containerdppc64le | Advisory build | 1.4.4-5.36.1 | SUSE-SU-2021:2412-1 |
| SUSE / openSUSE | SLE-15-SP2 | containerds390x | Advisory build | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15-SP2 | containerds390x | Advisory build | 1.4.4-5.36.1 | SUSE-SU-2021:2412-1 |
| SUSE / openSUSE | SLE-15-SP2 | containerdx86_64 | Advisory build | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15-SP2 | containerdx86_64 | Advisory build | 1.4.4-5.36.1 | SUSE-SU-2021:2412-1 |
| SUSE / openSUSE | SLE-15-SP3 | containerdaarch64 | Advisory build | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15-SP3 | containerdaarch64 | Advisory build | 1.4.4-5.36.1 | SUSE-SU-2021:2412-1 |
| SUSE / openSUSE | SLE-15-SP3 | containerdppc64le | Advisory build | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15-SP3 | containerdppc64le | Advisory build | 1.4.4-5.36.1 | SUSE-SU-2021:2412-1 |
| SUSE / openSUSE | SLE-15-SP3 | containerds390x | Advisory build | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15-SP3 | containerds390x | Advisory build | 1.4.4-5.36.1 | SUSE-SU-2021:2412-1 |
| SUSE / openSUSE | SLE-15-SP3 | containerdx86_64 | Advisory build | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-15-SP3 | containerdx86_64 | Advisory build | 1.4.4-5.36.1 | SUSE-SU-2021:2412-1 |
| SUSE / openSUSE | SLE-5 | containerdaarch64 | Advisory build | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-5 | containerdaarch64 | Advisory build | 1.4.4-5.36.1 | SUSE-SU-2021:2412-1 |
| SUSE / openSUSE | SLE-5 | containerds390x | Advisory build | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-5 | containerdx86_64 | Advisory build | 1.4.11-56.1 | SUSE-SU-2021:3506-1 |
| SUSE / openSUSE | SLE-5 | containerdx86_64 | Advisory build | 1.4.4-5.36.1 | SUSE-SU-2021:2412-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | containerdx86_64 | Advisory build | 1.4.11-lp152.2.12.1 | OPENSUSE-SU-2021:1404-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | containerdx86_64 | Advisory build | 1.4.4-lp152.2.9.1 | OPENSUSE-SU-2021:1081-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | containerdaarch64 | Advisory build | 1.4.11-56.1 | OPENSUSE-SU-2021:3506-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | containerdaarch64 | Advisory build | 1.4.4-5.36.1 | OPENSUSE-SU-2021:2412-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | containerdppc64le | Advisory build | 1.4.11-56.1 | OPENSUSE-SU-2021:3506-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | containerdppc64le | Advisory build | 1.4.4-5.36.1 | OPENSUSE-SU-2021:2412-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | containerds390x | Advisory build | 1.4.11-56.1 | OPENSUSE-SU-2021:3506-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | containerds390x | Advisory build | 1.4.4-5.36.1 | OPENSUSE-SU-2021:2412-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | containerdx86_64 | Advisory build | 1.4.11-56.1 | OPENSUSE-SU-2021:3506-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | containerdx86_64 | Advisory build | 1.4.4-5.36.1 | OPENSUSE-SU-2021:2412-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | containerdaarch64 | Advisory build | 1.4.8-2.2 | OPENSUSE-SU-2024:10693-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | containerdppc64le | Advisory build | 1.4.8-2.2 | OPENSUSE-SU-2024:10693-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | containerds390x | Advisory build | 1.4.8-2.2 | OPENSUSE-SU-2024:10693-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | containerdx86_64 | Advisory build | 1.4.8-2.2 | OPENSUSE-SU-2024:10693-1 |
| Ubuntu | focal | containerd | Advisory build | 1.5.2-0ubuntu1~20.04.2 | USN-5012-1 |
| Ubuntu | xenial | containerd | Advisory build | 1.2.6-0ubuntu1~16.04.6+esm2 | USN-5521-1 |
| Oracle Linux | 7 | docker-cliaarch64 | Advisory build | 0:19.03.11.ol-13.el7 | ELSA-2021-15790 |
| Oracle Linux | 7 | docker-cliaarch64 | Advisory build | 0:19.03.11.ol-13.el7 | ELSA-2021-9373 |
| Oracle Linux | 7 | docker-clix86_64 | Advisory build | 0:19.03.11.ol-13.el7 | ELSA-2021-15790 |
| Oracle Linux | 7 | docker-clix86_64 | Advisory build | 0:19.03.11.ol-13.el7 | ELSA-2021-9373 |
| Oracle Linux | 7 | docker-engineaarch64 | Advisory build | 0:19.03.11.ol-13.el7 | ELSA-2021-15790 |
| Oracle Linux | 7 | docker-engineaarch64 | Advisory build | 0:19.03.11.ol-13.el7 | ELSA-2021-9373 |
| Oracle Linux | 7 | docker-enginex86_64 | Advisory build | 0:19.03.11.ol-13.el7 | ELSA-2021-15790 |
| Oracle Linux | 7 | docker-enginex86_64 | Advisory build | 0:19.03.11.ol-13.el7 | ELSA-2021-9373 |
| SUSE / openSUSE | SLE-12 | dockerppc64le | Advisory build | 20.10.9_ce-98.72.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12 | dockers390x | Advisory build | 20.10.9_ce-98.72.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12 | dockerx86_64 | Advisory build | 20.10.9_ce-98.72.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12 | runcppc64le | Advisory build | 1.0.2-16.14.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12 | runcs390x | Advisory build | 1.0.2-16.14.1 | SUSE-SU-2021:3336-1 |
| SUSE / openSUSE | SLE-12 | runcx86_64 | Advisory build | 1.0.2-16.14.1 | SUSE-SU-2021:3336-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
containerd is a container runtime. A bug was found in containerd versions prior to 1.4.8 and 1.5.4 where pulling and extracting a specially-crafted container image can result in Unix file permission changes for existing files in the host’s filesystem. Changes to file permissions can deny access to the expected owner of the file, widen access to others, or set extended bits like setuid, setgid, and sticky. This bug does not directly allow files to be read, modified, or executed without an additional cooperating process. This bug has been fixed in containerd 1.5.4 and 1.4.8. As a workaround, ensure that users only pull images from trusted sources. Linux security modules (LSMs) like SELinux and AppArmor can limit the files potentially affected by this bug through policies and profiles that prevent containerd from interacting with specific files.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.0 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| containerd | containerd | <= 1.4.7 (affected)>= 1.5.0, <= 1.5.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-668 CWE-668: Exposure of Resource to Wrong Sphere
References
5- https://github.com/containerd/containerd/releases/tag/v1.4.8
- https://github.com/containerd/containerd/releases/tag/v1.5.4
- https://github.com/containerd/containerd/security/advisories/GHSA-c72p-9xmj-rx3w
- FEDORA-2021-53ce601cb0 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDMNDPJJTP3J5GOEDB66F6MGXUTRG3Y3/
- GLSA-202401-31 https://security.gentoo.org/glsa/202401-31
Provider assertions
3GitHub_M · cna
Archive package allows chmod of file outside of unpack target directory
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 31433c5e42e66ff72b728531d4bf9ca9b17c4feb6e0d8a167c560833350b8ee7
- Ingested
- 23 Sep 2026, 07:54:30 UTC
- Source record
- Official CVE record