Live threats

All CVEs / Linuxfoundation

CVE-2024-40635Linuxfoundation Containerd

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
0.3%
probability of exploitation in 30 days · percentile 20
Auth required
Yes
Published
Mar 17, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-190
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Containerd.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/containerd/containerd ≥ 1.7.0-beta.0 < 1.7.27 1.7.27 go get github.com/containerd/containerd@v1.7.27
Go github.com/containerd/containerd < 1.6.38 1.6.38 go get github.com/containerd/containerd@v1.6.38
Go github.com/containerd/containerd < 1.6.38 1.6.38 go get github.com/containerd/containerd@v1.6.38
Go github.com/containerd/containerd ≥ 1.7.0-beta.0 < 1.7.27 1.7.27 go get github.com/containerd/containerd@v1.7.27
Go github.com/containerd/containerd/v2 < 2.0.4 2.0.4 go get github.com/containerd/containerd/v2@v2.0.4
Go github.com/containerd/containerd/v2 < 2.0.4 2.0.4 go get github.com/containerd/containerd/v2@v2.0.4

Per OSV / GitHub Advisories (GHSA-265r-hfxg-fhmg, GO-2025-3528). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
linuxfoundationcontainerd< 1.6.38
linuxfoundationcontainerd≥ 1.7.0 < 1.7.27
linuxfoundationcontainerd≥ 2.0.0 < 2.0.4
debiandebian_linux11.0

Official sources

References

Links published by the sources. Open them with care.