Bug 2011007 (CVE-2021-41103) - CVE-2021-41103 containerd: insufficiently restricted permissions on container root and plugin directories
Summary: CVE-2021-41103 containerd: insufficiently restricted permissions on container...
Status: NEW
Alias: CVE-2021-41103
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 2011013 2011286 2013618 2032712 2032713 2032714 2011014
Blocks: 2011009
TreeView+ depends on / blocked
Reported: 2021-10-05 18:41 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-12-15 03:18 UTC (History)
25 users (show)

Fixed In Version: containerd 1.4.11, containerd 1.5.7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-10-05 18:41:06 UTC
containerd is an open source container runtime with an emphasis on simplicity, robustness and portability. A bug was found in containerd where container root directories and some plugins had insufficiently restricted permissions, allowing otherwise unprivileged Linux users to traverse directory contents and execute programs. When containers included executable programs with extended permission bits (such as setuid), unprivileged Linux users could discover and execute those programs. When the UID of an unprivileged Linux user on the host collided with the file owner or group inside a container, the unprivileged Linux user on the host could discover, read, and modify those files. This vulnerability has been fixed in containerd 1.4.11 and containerd 1.5.7. Users should update to these version when they are released and may restart containers or update directory permissions to mitigate the vulnerability. Users unable to update should limit access to the host to trusted users. Update directory permission on container bundles directories.


Upstream patch:

Comment 1 Guilherme de Almeida Suckevicz 2021-10-05 18:43:10 UTC
Created containerd tracking bugs for this issue:

Affects: epel-7 [bug 2011013]
Affects: fedora-all [bug 2011014]

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