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 in Wolfi
- CGA-22p2-8m83-7cvp
- CGA-22xj-v35c-j7r6
- CGA-25xr-6xhw-gpjc
- CGA-27j4-pf9h-h9pf
- CGA-2ch8-wqrm-5wmg
- CGA-2f58-wh95-hrqr
- CGA-2f5f-6787-pjj6
- CGA-2fv5-fxm5-qhv3
- CGA-2g8x-53q7-v3j6
- CGA-2w47-76v2-rf4g
- CGA-37qm-m5hg-gmv6
- CGA-38wv-7x7x-r34q
- CGA-3gw4-w9cg-pmvq
- CGA-3qg3-58j6-v9fg
- CGA-3vxh-r3qv-3vfj
- CGA-3xx5-cr45-9rp5
- CGA-44hc-2jxh-2r33
- CGA-44p4-5rv6-5q29
- CGA-44x3-8j92-6x7h
- CGA-476p-6qxh-6r37
- CGA-47pg-6w46-c29h
- CGA-47vq-v8fg-ghgj
- CGA-4956-jq9v-5m3h
- CGA-4cjx-93pw-9p4c
- CGA-4f2x-j9rg-x57f
- CGA-4g5g-r36f-hjv3
- CGA-4vqv-q4ww-hg92
- CGA-4vv6-66wf-wg9p
- CGA-54wv-82q7-r7hj
- CGA-54x2-w3g7-g77p
- CGA-576p-cc2q-9xr2
- CGA-58q4-wvqc-xfmq
- CGA-5cpm-5qh9-vx9c
- CGA-5h3p-9x9h-hp8f
- CGA-5mvw-wx58-x3pc
- CGA-63v4-v5m3-xmr7
- CGA-68pj-gx9m-qxqx
- CGA-6926-26fw-w7rf
- CGA-6ch6-m87g-p52j
- CGA-6f5x-4298-pjgf
- CGA-6fr4-vpvm-c96f
- CGA-75wr-6c28-2j5f
- CGA-75xq-xqjq-x27h
- CGA-77gm-h6qp-q27q
- CGA-79jv-m9g4-x2cg
- CGA-7fqq-3w8r-r3xp
- CGA-7g25-h67w-6m8c
- CGA-7m67-rhpf-4j3v
- CGA-7q65-426q-mxqg
- CGA-7wch-hpr2-pc33
- CGA-85vm-3w4g-5ch3
- CGA-8h6r-r3jg-jpfh
- CGA-8q42-vv5v-rf8f
- CGA-9455-j75r-jpvm
- CGA-9457-wrw5-3hrf
- CGA-94rv-5xh9-jjq5
- CGA-95vm-rf5h-2j52
- CGA-96j3-qq5v-qw4h
- CGA-99m8-h462-29cx
- CGA-9f68-43q2-qq8c
- CGA-9prr-5xc8-p8hv
- CGA-9r59-2vqp-pj6g
- CGA-9r8j-43x3-85xx
- CGA-9rf5-7wch-9pv2
- CGA-9vc6-m538-p44q
- CGA-9w4j-wr9r-fmm6
- CGA-c39p-x8v8-jwf4
- CGA-c3p9-ghr5-fwjr
- CGA-chh6-fr36-qj5m
- CGA-cj6c-8w47-8g3x
- CGA-cmv4-hvhv-rrfx
- CGA-cqpf-p4j5-2q32
- CGA-cr28-w9v3-c83g
- CGA-f3mc-8xf4-cjcc
- CGA-f3mx-5c5h-fg9q
- CGA-f5x2-mffh-gm8q
- CGA-frfr-3h48-rg3g
- CGA-fw9j-45w2-w42r
- CGA-g5xp-wr68-g57g
- CGA-g68c-j82g-2cjv
- CGA-gfj8-c3p8-8x49
- CGA-gr4x-7747-mxrh
- CGA-h2pc-gxgj-rrvr
- CGA-h45q-2mrw-688c
- CGA-h4j6-43fm-8hhq
- CGA-h5hp-rw7h-8vcj
- CGA-hp28-965h-25vx
- CGA-hpv5-wc25-3f52
- CGA-hr7q-34fc-c28q
- CGA-hr9j-q55p-74pm
- CGA-j4pv-3498-mjgp
- CGA-j524-mwc8-h9g3
- CGA-j78g-x3vx-pm3r
- CGA-j7w5-7w3v-c6m8
- CGA-jc4m-7fxg-v6ww
- CGA-jj9f-w22c-5w65
- CGA-jm5q-78j9-frqh
- CGA-jmq2-q6g6-r3xg
- CGA-jmx5-f8xv-57p3
- CGA-jmxj-v99p-gcv7
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