CVE-2021-32760: Archive package allows chmod of file outside of unpack target directory
Vulnerability summary
CVE-2021-32760 is a medium (CVSS 6.8) Exposure of Resource to Wrong Sphere vulnerability in containerd. EPSS estimates a 1.59% chance of exploitation in the next 30 days, higher than 75.7% of scored vulnerabilities.
Not severe (CVSS 5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 7 · Related 8Timeline
- 19-07-2021PublishedVulnerability first disclosed.
- 19-11-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
9 scores · 8 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
- OSV · DebianEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:LDiffers
- OSV · WolfiEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:LDiffers
- OSV · GoEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
- OSV · ChainguardEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:LDiffers
- NVDNIST6.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:LDiffers
- OSV · AlpineEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:LDiffers
EPSS trend
Probability
1.59%
Chance of exploitation in the next 30 days
Percentile
76%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.59% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-668Exposure of Resource to Wrong SphereThe product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.
- CWE-732Incorrect Permission Assignment for Critical ResourceThe product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.
Affected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Suse4 products
- containerd&distro=SUSE Linux Enterprise Micro 5.0< 1.4.4-5.36.1
- containerd&distro=SUSE Linux Enterprise Module for Containers 12< 1.4.4-16.42.1
- containerd&distro=SUSE Linux Enterprise Module for Containers 15 SP2< 1.4.4-5.36.1
- containerd&distro=SUSE Linux Enterprise Module for Containers 15 SP3< 1.4.4-5.36.1
Opensuse3 products
- containerd&distro=openSUSE Leap 15.2< 1.4.4-lp152.2.9.1
- containerd&distro=openSUSE Leap 15.3< 1.4.4-5.36.1
- trivy&distro=openSUSE Tumbleweed< 0.20.2-1.1
Alpine1 product
- containerd≥ 1.5.0, < 1.4.8-r0 | ≥ 1.5.0, < 1.5.4-r0
Chainguard1 product
- ctop< 0.7.7-r13
Containerd1 product
- containerd≤ 1.4.7 | ≥ 1.5.0, ≤ 1.5.3
Debian1 product
- containerd< 1.4.5~ds1-2
Fedoraproject1 product
- fedoraEOL34
Github.com/containerd1 product
- containerd< 1.4.8 | ≥ 1.5.0, < 1.5.4
Linuxfoundation1 product
- containerd< 1.4.8 | ≥ 1.5.0, < 1.5.4
Ubuntu1 product
- containerd< 1.5.2-0ubuntu1~18.04.2 | < 1.5.2-0ubuntu1~20.04.2 | < 1.2.6-0ubuntu1~16.04.6+esm2
Wolfi1 product
- ctop< 0.7.7-r13
11 vendors · 16 products
References
23 links- github.com/containerd/containerd/security/advisories/GHSA-c72p-9xmj-rx3wREPORTAdvisoryWEBThird Party Advisory
Show all 23 references
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory