Vulnerability
CVE-2024-40635
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 trusted images are used and that only trusted users have permissions to import images.
387 advisories report this vulnerability, across 10 ecosystems.
Advisories
-
ALAS2023-2025-1015
Amazon Linux 2023 - ALAS2023-2025-1015: Medium priority package update for ecs-init
-
ALAS2023-2025-920
Amazon Linux 2023 - ALAS2023-2025-920: Medium priority package update for containerd
-
ALAS2023-2025-987
Amazon Linux 2023 - ALAS2023-2025-987: Medium priority package update for docker
-
AZL-58844
CVE-2024-40635 affecting package moby-containerd for versions less than 1.6.26-11
-
AZL-58845
CVE-2024-40635 affecting package containerd for versions less than 1.7.13-8
-
AZL-58867
CVE-2024-40635 affecting package containerd2 for versions less than 2.0.0-8
-
AZL-60893
CVE-2024-40635 affecting package moby-containerd-cc for versions less than 1.7.7-9
-
AZL-60897
CVE-2024-40635 affecting package moby-containerd-cc for versions less than 1.7.7-11
- CGA-22hg-vg3m-584x
- CGA-22p2-8m83-7cvp
- CGA-22xj-v35c-j7r6
- CGA-247m-cmfm-3gjv
- CGA-25xr-6xhw-gpjc
- CGA-26w5-q6fh-c3wv
- CGA-27j4-pf9h-h9pf
- CGA-2899-rqwp-6xqx
- CGA-2ch8-wqrm-5wmg
- CGA-2cjq-cgm3-454q
- CGA-2f58-wh95-hrqr
- CGA-2f5f-6787-pjj6
- CGA-2fv5-fxm5-qhv3
- CGA-2g7j-c5fq-qwr7
- CGA-2g8x-53q7-v3j6
- CGA-2h5c-vj3q-j26g
- CGA-2m74-gq8c-v4v7
- CGA-2mm7-fc4c-3vmg
- CGA-2r5c-6cvh-8wgj
- CGA-2w47-76v2-rf4g
- CGA-2x5f-v6v5-pv54
- CGA-2x7c-4cgx-2gc6
- CGA-2xx6-qrfw-2cq5
- CGA-347g-vjwh-ff56
- CGA-35f8-28w5-9q33
- CGA-37qm-m5hg-gmv6
- CGA-38wv-7x7x-r34q
- CGA-39qv-c89r-5m83
- CGA-3gw4-w9cg-pmvq
- CGA-3gwv-847h-x26j
- CGA-3h9p-cf3v-5797
- CGA-3p6w-76x2-f4mf
- CGA-3pj9-r6r6-w2gh
- CGA-3q39-crrg-x766
- CGA-3qg3-58j6-v9fg
- CGA-3r7p-2p9j-cwfx
- CGA-3vxh-r3qv-3vfj
- CGA-3w76-56g5-px2g
- CGA-3x33-75c3-v7vm
- CGA-3xrv-gwv8-cmpw
- CGA-3xx5-cr45-9rp5
- CGA-42v8-xcjq-mg86
- CGA-433x-8j3w-657v
- CGA-43rx-f8xg-wwx5
- CGA-44cj-j623-4vf8
- CGA-44hc-2jxh-2r33
- CGA-44p4-5rv6-5q29
- CGA-44qc-496r-rc2p
- CGA-44x3-8j92-6x7h
- CGA-46mr-p7fh-fh2w
- CGA-46p9-9cph-fm49
- CGA-476p-6qxh-6r37
- CGA-47pg-6w46-c29h
- CGA-47qv-p2f4-2xmf
- CGA-47vq-v8fg-ghgj
- CGA-4956-jq9v-5m3h
- CGA-4cjx-93pw-9p4c
- CGA-4f2x-j9rg-x57f
- CGA-4g5g-r36f-hjv3
- CGA-4ggf-qxhp-x38j
- CGA-4rf9-p432-8qxj
- CGA-4vqv-q4ww-hg92
- CGA-4vv6-66wf-wg9p
- CGA-53hw-xgxv-692q
- CGA-54pv-3p52-cx42
- CGA-54wv-82q7-r7hj
- CGA-54x2-w3g7-g77p
- CGA-54x4-7ffh-mq43
- CGA-576p-cc2q-9xr2
- CGA-582j-mh6h-h6hr
- CGA-58q3-3924-f928
- CGA-58q4-wvqc-xfmq
- CGA-58qc-7895-vgc5
- CGA-5chm-mw73-xvq4
- CGA-5cpm-5qh9-vx9c
- CGA-5fc6-vrrx-c663
- CGA-5h3p-9x9h-hp8f
- CGA-5jh6-86p5-48f6
- CGA-5m5j-mw2m-pf57
- CGA-5mvw-wx58-x3pc
- CGA-5wmc-3rvp-gh7g
- CGA-6259-3mrf-p2j4
- CGA-63v4-v5m3-xmr7
- CGA-64vq-jwcj-gq2w
- CGA-6642-vp8p-323g
- CGA-665v-mq2x-m3jw
- CGA-66vg-mg3v-94jf
- CGA-68pj-gx9m-qxqx
- CGA-6926-26fw-w7rf
- CGA-6c93-3v64-w3q7
- CGA-6ch6-m87g-p52j
- CGA-6f5x-4298-pjgf
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2024-40635.
References
- https://github.com/containerd/containerd/commit/05044ec0a9a75232cad458027ca83437aae3f4da
- https://github.com/containerd/containerd/commit/1a43cb6a1035441f9aca8f5666a9b3ef9e70ab20
- https://github.com/containerd/containerd/commit/cf158e884cfe4812a6c371b59e4ea9bc4c46e51a
- https://github.com/containerd/containerd/security/advisories/GHSA-265r-hfxg-fhmg
- https://lists.debian.org/debian-lts-announce/2025/05/msg00005.html