CVE-2021-32760Linuxfoundation Containerd
Medium 6.3 No auth needed
Follow: this CVE · Linuxfoundation · Linuxfoundation Containerd We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Containerd.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| linuxfoundation | containerd | < 1.4.8 |
| linuxfoundation | containerd | ≥ 1.5.0 < 1.5.4 |
| fedoraproject | fedora | 34 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Third Party Advisory
- lists.fedoraproject.org
- security.gentoo.org