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.
Advisories
Source ID Title
Debian DSA Debian DSA DSA-5002-1 containerd security update
EUVD EUVD EUVD-2021-2187 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.
Github GHSA Github GHSA GHSA-c2h3-6mxw-7mvq Insufficiently restricted permissions on plugin directories
Ubuntu USN Ubuntu USN USN-5100-1 containerd vulnerability
Ubuntu USN Ubuntu USN USN-5521-1 containerd vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-08-04T02:59:31.538Z

Reserved: 2021-09-15T00:00:00

Link: CVE-2021-41103

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-10-04T17:15:08.517

Modified: 2024-11-21T06:25:28.423

Link: CVE-2021-41103

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-10-04T00:00:00Z

Links: CVE-2021-41103 - Bugzilla

cve-icon OpenCVE Enrichment

No data.