Bug 1982681 (CVE-2021-32760) - CVE-2021-32760 containerd: pulling and extracting crafted container image may result in Unix file permission changes
Summary: CVE-2021-32760 containerd: pulling and extracting crafted container image may...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2021-32760
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2189979 1983932 1983934 1984372 2032712 2032713 2032714 2189980
Blocks: 1982684
TreeView+ depends on / blocked
 
Reported: 2021-07-15 12:17 UTC by Marian Rehak
Modified: 2023-10-19 22:23 UTC (History)
85 users (show)

Fixed In Version: containerd 1.5.4, containerd 1.4.8
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in containerd 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.
Clone Of:
Environment:
Last Closed: 2022-05-12 10:16:07 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:2183 0 None None None 2022-05-11 11:34:33 UTC
Red Hat Product Errata RHSA-2023:5952 0 None None None 2023-10-19 22:23:34 UTC

Description Marian Rehak 2021-07-15 12:17:12 UTC
A bug was found in containerd 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.

Upstream advisory:

https://github.com/containerd/containerd/security/advisories/GHSA-c72p-9xmj-rx3w

Comment 3 Marian Rehak 2021-07-20 08:29:17 UTC
Created containerd tracking bugs for this issue:

Affects: epel-7 [bug 1983934]
Affects: fedora-all [bug 1983932]

Comment 9 errata-xmlrpc 2022-05-11 11:34:30 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 16.2

Via RHSA-2022:2183 https://access.redhat.com/errata/RHSA-2022:2183

Comment 10 Product Security DevOps Team 2022-05-12 10:16:04 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-32760

Comment 11 Avinash Hanwate 2023-04-26 16:32:53 UTC
Created golang-github-moby-buildkit tracking bugs for this issue:

Affects: fedora-all [bug 2189979]


Created stargz-snapshotter tracking bugs for this issue:

Affects: fedora-all [bug 2189980]

Comment 14 errata-xmlrpc 2023-10-19 22:23:29 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Service Mesh 2.4 for RHEL 8

Via RHSA-2023:5952 https://access.redhat.com/errata/RHSA-2023:5952


Note You need to log in before you can comment on or make changes to this bug.