CVE-2024-40635 Details
Description
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.
An integer overflow vulnerability has been identified in containerd, an open-source container runtime. This issue affects versions prior to 1.6.38, 1.7.27, and 2.0.4. The vulnerability arises when containers are launched with a User ID and Group ID combination that exceeds the maximum 32-bit signed integer. Such a configuration can lead to the container running as root (UID 0), which may disrupt environments that require non-root execution. The flaw has been addressed in the aforementioned containerd versions.
Upgrade to containerd versions 1.6.38, 1.7.27, or 2.0.4. For Debian 11 bullseye, this issue has been fixed in version 1.4.13~ds1-1~deb11u5.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 18, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-190 | Integer Overflow or Wraparound | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linuxfoundation containerd | < 1.6.38 >= 1.7.0, < 1.7.27 >= 2.0.0, < 2.0.4 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 2, 2025 | Reanalysis | [email protected] |
| Sep 23, 2025 | Initial Analysis | [email protected] |
| May 4, 2025 | CVE Modified | CVE |
| Mar 17, 2025 | New CVE Received | [email protected] |