6.8

CVE-2021-32760: Archive package allows chmod of file outside of unpack target directory

Modified
AliasesSUSE-SU-2021:2412-1SUSE-SU-2021:2413-1UBUNTU-CVE-2021-32760
Published 19-07-2021Last modified 19-11-2024

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.

Priority
Routine

Not severe (CVSS 5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.8/10
010
Medium · v2.0 (NVD)
EPSS score
1.59%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 7 · Related 8

Timeline

  1. 19-07-2021
    PublishedVulnerability first disclosed.
  2. 19-11-2024
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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
Debian1 product
  • containerd< 1.4.5~ds1-2
Fedoraproject1 product
Github.com/containerd1 product
  • containerd< 1.4.8 | ≥ 1.5.0, < 1.5.4
Linuxfoundation1 product
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
Show all 23 references