Vulnerability record · CVE-2021-32760 · published 19 July 2021
CVE-2021-32760: Linuxfoundation containerd exposure of resource to wrong sphere vulnerability
Linuxfoundation · Containerd
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.
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:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/containerd/containerd/releases/tag/v1.4.8 | Release NotesThird Party Advisory |
| https://github.com/containerd/containerd/releases/tag/v1.5.4 | Release NotesThird Party Advisory |
| https://github.com/containerd/containerd/security/advisories/GHSA-c72p-9xmj-rx3w | Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDMNDPJJTP3J5GOEDB66F6M | |
| https://security.gentoo.org/glsa/202401-31 | |
| https://github.com/containerd/containerd/releases/tag/v1.4.8 | Release NotesThird Party Advisory |
| https://github.com/containerd/containerd/releases/tag/v1.5.4 | Release NotesThird Party Advisory |
| https://github.com/containerd/containerd/security/advisories/GHSA-c72p-9xmj-rx3w | Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDMNDPJJTP3J5GOEDB66F6M | |
| https://security.gentoo.org/glsa/202401-31 |
Track CVE-2021-32760 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-32760), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.