Live threats

All CVEs / Linuxfoundation

CVE-2021-32760Linuxfoundation Containerd

Medium 6.3 No auth needed

Priority
53
CVSS 3.1
6.3
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
No
Published
Jul 19, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-668, CWE-732
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Containerd.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/containerd/containerd < 1.4.8 1.4.8 go get github.com/containerd/containerd@v1.4.8
Go github.com/containerd/containerd ≥ 1.5.0 < 1.5.4 1.5.4 go get github.com/containerd/containerd@v1.5.4
Go github.com/containerd/containerd < 1.4.8 1.4.8 go get github.com/containerd/containerd@v1.4.8
Go github.com/containerd/containerd ≥ 1.5.0 < 1.5.4 1.5.4 go get github.com/containerd/containerd@v1.5.4

Per OSV / GitHub Advisories (GHSA-c72p-9xmj-rx3w, GO-2022-0921). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
linuxfoundationcontainerd< 1.4.8
linuxfoundationcontainerd≥ 1.5.0 < 1.5.4
fedoraprojectfedora34

Official sources

References

Links published by the sources. Open them with care.