CVE & CISA-KEV Catalog

CVE-2024-40635

MEDIUM
4.6
CVSS v3
NVD

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.

How to fix

Remediation Available
containerdDebian
Fixed in:1.4.13~ds1-1~deb11u5CVE-2024-40635
Fixed in:1.6.20~ds1-1+deb12u2CVE-2024-40635
Fixed in:1.7.24~ds1-6CVE-2024-40635
Fixed in:1.7.24~ds1-6CVE-2024-40635
containerdUbuntu
Fixed in:1.2.6-0ubuntu1~16.04.6+esm5USN-7374-1
Fixed in:1.6.12-0ubuntu1~18.04.1+esm2USN-7374-1
Fixed in:1.6.12-0ubuntu1~20.04.8USN-7374-1
Fixed in:1.6.12-0ubuntu1~22.04.8USN-7374-1
Fixed in:1.6.24~ds1-1ubuntu1.2+esm1USN-7374-1
containerd-appUbuntu
Fixed in:1.7.24-0ubuntu1~20.04.2USN-7374-1
Fixed in:1.7.24-0ubuntu1~22.04.2USN-7374-1
Fixed in:1.7.24-0ubuntu1~24.04.2USN-7374-1
golang-github-containerd-containerd-devUbuntu
Fixed in:1.6.12-0ubuntu1~18.04.1+esm2USN-7374-1
Fixed in:1.6.12-0ubuntu1~20.04.8USN-7374-1
Fixed in:1.6.12-0ubuntu1~22.04.8USN-7374-1
Fixed in:1.6.24~ds1-1ubuntu1.2+esm1USN-7374-1
golang-github-docker-containerd-devUbuntu
Fixed in:1.2.6-0ubuntu1~16.04.6+esm5USN-7374-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredHigh
User InteractionNone
ScopeChanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N

Exploit Intelligence

0.27%probability of exploitation in 30 days
19thpercentile

Low risk: more likely to be exploited than 19% of all known CVEs.

References

Vendor Advisory1
Third-Party Advisory1

Related Vulnerabilities

Other CWE-190 (Integer Overflow) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2020-16040Medium6.5100%-Fix
CVE-2019-11477High7.599%-Fix
CVE-2023-44443High7.894%-Fix
CVE-2014-0569High9.390%--
CVE-2017-3599High7.590%-Fix
CVE-2023-21716Critical9.882%-Fix
Embed a live status badge for CVE-2024-40635
CVE-2024-40635 severity badge

Markdown

[![CVE-2024-40635](https://tridentstack.com/cve/badge/CVE-2024-40635.svg)](https://tridentstack.com/cve/CVE-2024-40635)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-40635"><img src="https://tridentstack.com/cve/badge/CVE-2024-40635.svg" alt="CVE-2024-40635"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-10-02.