CVE-2021-41103Linuxfoundation Containerd
High 7.8
Follow: this CVE · Linuxfoundation · Linuxfoundation Containerd We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 37
- Auth required
- Yes
- Published
- Oct 4, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Containerd.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/containerd/containerd |
< 1.4.11 |
1.4.11 |
go get github.com/containerd/containerd@v1.4.11 |
| Go | github.com/containerd/containerd |
≥ 1.5.0 < 1.5.7 |
1.5.7 |
go get github.com/containerd/containerd@v1.5.7 |
| Go | github.com/containerd/containerd |
< 1.4.11 |
1.4.11 |
go get github.com/containerd/containerd@v1.4.11 |
| Go | github.com/containerd/containerd |
≥ 1.5.0 < 1.5.7 |
1.5.7 |
go get github.com/containerd/containerd@v1.5.7 |
Per OSV / GitHub Advisories (GHSA-c2h3-6mxw-7mvq, GO-2022-0938). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linuxfoundation | containerd | < 1.4.11 |
| linuxfoundation | containerd | ≥ 1.5.0 < 1.5.7 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
| debian | debian_linux | 11.0 |
Official sources
References
Links published by the sources. Open them with care.
- cert-portal.siemens.com
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org
- www.debian.org Third Party Advisory