CVE-2021-32760

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:*
cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*

History

21 Nov 2024, 06:07

Type Values Removed Values Added
CVSS v2 : 6.8
v3 : 6.3
v2 : 6.8
v3 : 5.0
References () https://github.com/containerd/containerd/releases/tag/v1.4.8 - Release Notes, Third Party Advisory () https://github.com/containerd/containerd/releases/tag/v1.4.8 - Release Notes, Third Party Advisory
References () https://github.com/containerd/containerd/releases/tag/v1.5.4 - Release Notes, Third Party Advisory () https://github.com/containerd/containerd/releases/tag/v1.5.4 - Release Notes, Third Party Advisory
References () https://github.com/containerd/containerd/security/advisories/GHSA-c72p-9xmj-rx3w - Third Party Advisory () https://github.com/containerd/containerd/security/advisories/GHSA-c72p-9xmj-rx3w - Third Party Advisory
References () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDMNDPJJTP3J5GOEDB66F6MGXUTRG3Y3/ - () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDMNDPJJTP3J5GOEDB66F6MGXUTRG3Y3/ -
References () https://security.gentoo.org/glsa/202401-31 - () https://security.gentoo.org/glsa/202401-31 -

31 Jan 2024, 13:15

Type Values Removed Values Added
References
  • () https://security.gentoo.org/glsa/202401-31 -

07 Nov 2023, 03:35

Type Values Removed Values Added
References
  • {'url': 'https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DDMNDPJJTP3J5GOEDB66F6MGXUTRG3Y3/', 'name': 'FEDORA-2021-53ce601cb0', 'tags': ['Mailing List', 'Third Party Advisory'], 'refsource': 'FEDORA'}
  • () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDMNDPJJTP3J5GOEDB66F6MGXUTRG3Y3/ -

Information

Published : 2021-07-19 21:15

Updated : 2024-11-21 06:07


NVD link : CVE-2021-32760

Mitre link : CVE-2021-32760

CVE.ORG link : CVE-2021-32760


JSON object : View

Products Affected

fedoraproject

  • fedora

linuxfoundation

  • containerd
CWE
CWE-668

Exposure of Resource to Wrong Sphere

CWE-732

Incorrect Permission Assignment for Critical Resource