CVE-2021-41103 Insufficiently restricted permissions on plugin directories
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| containerd(Go) | < 1.4.11 | 1.4.11 |
| containerd(Go) | >= 1.5.0, < 1.5.7 | 1.5.7 |
| debian/containerd(Debian:12) | < 1.5.7~ds1-1 | 1.5.7~ds1-1 |
| debian/containerd(Debian:13) | < 1.5.7~ds1-1 | 1.5.7~ds1-1 |
| debian/containerd(Debian:14) | < 1.5.7~ds1-1 | 1.5.7~ds1-1 |
| ubuntu/containerd(Ubuntu:22.04) | < 1.5.5-0ubuntu3 | 1.5.5-0ubuntu3 |
| linuxfoundation containerd | < 1.4.11 | 1.4.11 |
| linuxfoundation containerd | >= 1.5.0, < 1.5.7 | 1.5.7 |
| fedoraproject fedora | = 34 | No fix listed |
| fedoraproject fedora | = 35 | No fix listed |
| debian linux | = 11.0 | No fix listed |
| alpine/containerd(Alpine:v3.14) | >= 1.5.0, < 1.5.7-r0 | 1.5.7-r0 |
| alpine/containerd(Alpine:v3.15) | >= 1.5.0, < 1.5.7-r0 | 1.5.7-r0 |
| alpine/containerd(Alpine:v3.16) | >= 1.5.0, < 1.5.7-r0 | 1.5.7-r0 |
| alpine/containerd(Alpine:v3.17) | >= 1.5.0, < 1.5.7-r0 | 1.5.7-r0 |
| alpine/containerd(Alpine:v3.18) | >= 1.5.0, < 1.5.7-r0 | 1.5.7-r0 |
| alpine/containerd(Alpine:v3.19) | >= 1.5.0, < 1.5.7-r0 | 1.5.7-r0 |
| alpine/containerd(Alpine:v3.20) | >= 1.5.0, < 1.5.7-r0 | 1.5.7-r0 |
| alpine/containerd(Alpine:v3.21) | >= 1.5.0, < 1.5.7-r0 | 1.5.7-r0 |
| alpine/containerd(Alpine:v3.22) | >= 1.5.0, < 1.5.7-r0 | 1.5.7-r0 |
| alpine/containerd(Alpine:v3.23) | >= 1.5.0, < 1.5.7-r0 | 1.5.7-r0 |
| alpine/containerd(Alpine:v3.24) | >= 1.5.0, < 1.5.7-r0 | 1.5.7-r0 |
| containerd | = < 1.4.11 | No fix listed |
| containerd | = >= 1.5.0, < 1.5.7 | No fix listed |
| ubuntu/containerd(Ubuntu:Pro:16.04) | < 1.2.6-0ubuntu1~16.04.6+esm2 | 1.2.6-0ubuntu1~16.04.6+esm2 |
Show 31 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/containerd(Ubuntu:Pro:16.04) | = 0.2.1-0ubuntu4~16.04 | No fix listed |
| ubuntu/containerd(Ubuntu:Pro:16.04) | = 0.2.3-0ubuntu1~16.04 | No fix listed |
| ubuntu/containerd(Ubuntu:Pro:16.04) | = 0.2.5-0ubuntu1~16.04.1 | No fix listed |
| ubuntu/containerd(Ubuntu:Pro:16.04) | = 1.2.6-0ubuntu1~16.04.2 | No fix listed |
| ubuntu/containerd(Ubuntu:Pro:16.04) | = 1.2.6-0ubuntu1~16.04.3 | No fix listed |
| ubuntu/containerd(Ubuntu:Pro:16.04) | = 1.2.6-0ubuntu1~16.04.4 | No fix listed |
| ubuntu/containerd(Ubuntu:Pro:16.04) | = 1.2.6-0ubuntu1~16.04.5 | No fix listed |
| ubuntu/containerd(Ubuntu:Pro:16.04) | = 1.2.6-0ubuntu1~16.04.6 | No fix listed |
| ubuntu/containerd(Ubuntu:Pro:16.04) | = 1.2.6-0ubuntu1~16.04.6+esm1 | No fix listed |
| ubuntu/containerd(Ubuntu:18.04) | < 1.5.2-0ubuntu1~18.04.3 | 1.5.2-0ubuntu1~18.04.3 |
| ubuntu/containerd(Ubuntu:18.04) | = 0.2.5-0ubuntu2 | No fix listed |
| ubuntu/containerd(Ubuntu:18.04) | = 1.2.6-0ubuntu1~18.04.1 | No fix listed |
| ubuntu/containerd(Ubuntu:18.04) | = 1.2.6-0ubuntu1~18.04.2 | No fix listed |
| ubuntu/containerd(Ubuntu:18.04) | = 1.3.3-0ubuntu1~18.04.1 | No fix listed |
| ubuntu/containerd(Ubuntu:18.04) | = 1.3.3-0ubuntu1~18.04.2 | No fix listed |
| ubuntu/containerd(Ubuntu:18.04) | = 1.3.3-0ubuntu1~18.04.3 | No fix listed |
| ubuntu/containerd(Ubuntu:18.04) | = 1.3.3-0ubuntu1~18.04.4 | No fix listed |
| ubuntu/containerd(Ubuntu:18.04) | = 1.4.4-0ubuntu1~18.04.2 | No fix listed |
| ubuntu/containerd(Ubuntu:18.04) | = 1.5.2-0ubuntu1~18.04.1 | No fix listed |
| ubuntu/containerd(Ubuntu:18.04) | = 1.5.2-0ubuntu1~18.04.2 | No fix listed |
| ubuntu/containerd(Ubuntu:20.04) | < 1.5.2-0ubuntu1~20.04.3 | 1.5.2-0ubuntu1~20.04.3 |
| ubuntu/containerd(Ubuntu:20.04) | = 1.2.10-0ubuntu1 | No fix listed |
| ubuntu/containerd(Ubuntu:20.04) | = 1.3.2-0ubuntu1 | No fix listed |
| ubuntu/containerd(Ubuntu:20.04) | = 1.3.3-0ubuntu1 | No fix listed |
| ubuntu/containerd(Ubuntu:20.04) | = 1.3.3-0ubuntu2 | No fix listed |
| ubuntu/containerd(Ubuntu:20.04) | = 1.3.3-0ubuntu2.1 | No fix listed |
| ubuntu/containerd(Ubuntu:20.04) | = 1.3.3-0ubuntu2.2 | No fix listed |
| ubuntu/containerd(Ubuntu:20.04) | = 1.3.3-0ubuntu2.3 | No fix listed |
| ubuntu/containerd(Ubuntu:20.04) | = 1.4.4-0ubuntu1~20.04.2 | No fix listed |
| ubuntu/containerd(Ubuntu:20.04) | = 1.5.2-0ubuntu1~20.04.1 | No fix listed |
| ubuntu/containerd(Ubuntu:20.04) | = 1.5.2-0ubuntu1~20.04.2 | No fix listed |
References
- github.com issue-tracking third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- cert-portal.siemens.com
- github.com product
- github.com
- github.com
- FEDORA-2021-b5a9a481a2 vendor-advisory
- FEDORA-2021-df975338d4 vendor-advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- GLSA-202401-31 vendor-advisory
- DSA-5002 third-party-advisory vendor-advisory
- github.com
- Debian Security Tracker CVE-2021-41103 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-5100-1 vendor-advisory
- USN-5521-1 vendor-advisory
- www.cve.org issue-tracking
- security.alpinelinux.org vendor-advisory