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: NEW
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: 1983934 1984372 2032712 2032713 2032714 1983932
Blocks: 1982684
TreeView+ depends on / blocked
 
Reported: 2021-07-15 12:17 UTC by Marian Rehak
Modified: 2021-12-15 03:18 UTC (History)
25 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:


Attachments (Terms of Use)

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]


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