CVE-2021-32760
Last modified
CVE-2021-32760 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. 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. EPSS estimates a 1.61% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linuxfoundation | Containerd | < 1.4.8 |
| Linuxfoundation | Containerd | >= 1.5.0, < 1.5.4 |
| Fedoraproject | Fedora | 34 |
References
- https://github.com/containerd/containerd/releases/tag/v1.4.8Release Notes, Third Party Advisory
- https://github.com/containerd/containerd/releases/tag/v1.5.4Release Notes, Third Party Advisory
- https://github.com/containerd/containerd/security/advisories/GHSA-c72p-9xmj-rx3wThird Party Advisory
- https://github.com/containerd/containerd/releases/tag/v1.4.8Release Notes, Third Party Advisory
- https://github.com/containerd/containerd/releases/tag/v1.5.4Release Notes, Third Party Advisory
- https://github.com/containerd/containerd/security/advisories/GHSA-c72p-9xmj-rx3wThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-32760?
How severe is CVE-2021-32760?
How do I fix CVE-2021-32760?
Are you affected by CVE-2021-32760?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
