Live threats

All CVEs / Linuxfoundation

CVE-2021-41103Linuxfoundation Containerd

High 7.8

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Containerd.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
linuxfoundationcontainerd< 1.4.11
linuxfoundationcontainerd≥ 1.5.0 < 1.5.7
fedoraprojectfedora34
fedoraprojectfedora35
debiandebian_linux11.0

Official sources

References

Links published by the sources. Open them with care.