CVE-2021-41103

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in go/github.com/containerd/containerd

Identifiers

CVE-2021-41103, GHSA-c2h3-6mxw-7mvq

Package Slug

go/github.com/containerd/containerd

Vulnerability

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

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.

Affected Versions

All versions before 1.4.11, all versions starting from 1.5.0 before 1.5.7

Solution

Upgrade to versions 1.4.11, 1.5.7 or above.

Last Modified

2021-10-18

source