Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/containerd/containerd
  4. ›
  5. CVE-2021-41103

CVE-2021-41103: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

October 4, 2021 (updated January 31, 2024)

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.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-41103

Code Behaviors & Features

Detect and mitigate CVE-2021-41103 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

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

Fixed versions

  • v1.4.11
  • v1.5.7

Solution

Upgrade to versions 1.4.11, 1.5.7 or above.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/github.com/containerd/containerd/CVE-2021-41103.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:13 +0000.