
CVE-2024-40635 – containerd has an integer overflow in User ID handling
https://notcve.org/view.php?id=CVE-2024-40635
17 Mar 2025 — containerd is an open-source container runtime. A bug was found in containerd prior to versions 1.6.38, 1.7.27, and 2.0.4 where containers launched with a User set as a `UID:GID` larger than the maximum 32-bit signed integer can cause an overflow condition where the container ultimately runs as root (UID 0). This could cause unexpected behavior for environments that require containers to run as a non-root user. This bug has been fixed in containerd 1.6.38, 1.7.27, and 2.04. As a workaround, ensure that only... • https://github.com/containerd/containerd/commit/05044ec0a9a75232cad458027ca83437aae3f4da • CWE-190: Integer Overflow or Wraparound •

CVE-2023-25173 – containerd supplementary groups are not set up properly
https://notcve.org/view.php?id=CVE-2023-25173
16 Feb 2023 — containerd is an open source container runtime. A bug was found in containerd prior to versions 1.6.18 and 1.5.18 where supplementary groups are not set up properly inside a container. If an attacker has direct access to a container and manipulates their supplementary group access, they may be able to use supplementary group access to bypass primary group restrictions in some cases, potentially gaining access to sensitive information or gaining the ability to execute code in that container. Downstream appli... • https://github.com/advisories/GHSA-4wjj-jwc9-2x96 • CWE-842: Placement of User into Incorrect Group CWE-863: Incorrect Authorization •

CVE-2023-25153 – containerd OCI image importer memory exhaustion
https://notcve.org/view.php?id=CVE-2023-25153
16 Feb 2023 — containerd is an open source container runtime. Before versions 1.6.18 and 1.5.18, when importing an OCI image, there was no limit on the number of bytes read for certain files. A maliciously crafted image with a large file where a limit was not applied could cause a denial of service. This bug has been fixed in containerd 1.6.18 and 1.5.18. Users should update to these versions to resolve the issue. • https://github.com/containerd/containerd/commit/0c314901076a74a7b797a545d2f462285fdbb8c4 • CWE-400: Uncontrolled Resource Consumption CWE-770: Allocation of Resources Without Limits or Throttling •

CVE-2022-23471 – containerd CRI stream server: Host memory exhaustion through terminal resize goroutine leak
https://notcve.org/view.php?id=CVE-2022-23471
07 Dec 2022 — containerd is an open source container runtime. A bug was found in containerd's CRI implementation where a user can exhaust memory on the host. In the CRI stream server, a goroutine is launched to handle terminal resize events if a TTY is requested. If the user's process fails to launch due to, for example, a faulty command, the goroutine will be stuck waiting to send without a receiver, resulting in a memory leak. Kubernetes and crictl can both be configured to use containerd's CRI implementation and the s... • https://github.com/containerd/containerd/commit/a05d175400b1145e5e6a735a6710579d181e7fb0 • CWE-400: Uncontrolled Resource Consumption CWE-401: Missing Release of Memory after Effective Lifetime •

CVE-2022-31030 – containerd CRI plugin: Host memory exhaustion through ExecSync
https://notcve.org/view.php?id=CVE-2022-31030
06 Jun 2022 — containerd is an open source container runtime. A bug was found in the containerd's CRI implementation where programs inside a container can cause the containerd daemon to consume memory without bound during invocation of the `ExecSync` API. This can cause containerd to consume all available memory on the computer, denying service to other legitimate workloads. Kubernetes and crictl can both be configured to use containerd's CRI implementation; `ExecSync` may be used when running probes or when executing pr... • http://www.openwall.com/lists/oss-security/2022/06/07/1 • CWE-400: Uncontrolled Resource Consumption •

CVE-2022-23648 – Insecure handling of image volumes in containerd CRI plugin
https://notcve.org/view.php?id=CVE-2022-23648
03 Mar 2022 — containerd is a container runtime available as a daemon for Linux and Windows. A bug was found in containerd prior to versions 1.6.1, 1.5.10, and 1.14.12 where containers launched through containerd’s CRI implementation on Linux with a specially-crafted image configuration could gain access to read-only copies of arbitrary files and directories on the host. This may bypass any policy-based enforcement on container setup (including a Kubernetes Pod Security Policy) and expose potentially sensitive informatio... • https://packetstorm.news/files/id/166421 • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor •

CVE-2021-43816 – Improper Preservation of Permissions in containerd
https://notcve.org/view.php?id=CVE-2021-43816
05 Jan 2022 — containerd is an open source container runtime. On installations using SELinux, such as EL8 (CentOS, RHEL), Fedora, or SUSE MicroOS, with containerd since v1.5.0-beta.0 as the backing container runtime interface (CRI), an unprivileged pod scheduled to the node may bind mount, via hostPath volume, any privileged, regular file on disk for complete read/write access (sans delete). Such is achieved by placing the in-container location of the hostPath volume mount at either `/etc/hosts`, `/etc/hostname`, or `/et... • https://github.com/containerd/containerd/commit/a731039238c62be081eb8c31525b988415745eea • CWE-281: Improper Preservation of Permissions •

CVE-2021-41103 – Insufficiently restricted permissions on plugin directories
https://notcve.org/view.php?id=CVE-2021-41103
04 Oct 2021 — 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 unpri... • https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') •

CVE-2021-32760 – Archive package allows chmod of file outside of unpack target directory
https://notcve.org/view.php?id=CVE-2021-32760
19 Jul 2021 — containerd is a container runtime. A bug was found in containerd versions prior to 1.4.8 and 1.5.4 where pulling and extracting a specially-crafted container image can result in Unix file permission changes for existing files in the host’s filesystem. Changes to file permissions can deny access to the expected owner of the file, widen access to others, or set extended bits like setuid, setgid, and sticky. This bug does not directly allow files to be read, modified, or executed without an additional cooperat... • https://github.com/containerd/containerd/releases/tag/v1.4.8 • CWE-281: Improper Preservation of Permissions CWE-668: Exposure of Resource to Wrong Sphere CWE-732: Incorrect Permission Assignment for Critical Resource •

CVE-2021-21334 – environment variable leak
https://notcve.org/view.php?id=CVE-2021-21334
10 Mar 2021 — In containerd (an industry-standard container runtime) before versions 1.3.10 and 1.4.4, containers launched through containerd's CRI implementation (through Kubernetes, crictl, or any other pod/container client that uses the containerd CRI service) that share the same image may receive incorrect environment variables, including values that are defined for other containers. If the affected containers have different security contexts, this may allow sensitive information to be unintentionally shared. If you ... • https://github.com/containerd/containerd/commit/05f951a3781f4f2c1911b05e61c160e9c30eaa8e • CWE-668: Exposure of Resource to Wrong Sphere •