Skip to content

containerd

containerd has an integer overflow in User ID handling

CVE-2024-40635Published 17 Mar 2025, 21:32 UTC

Real-world risk

0.3/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

4.6

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
containerdWidespread< 1.6.38; >= 1.7.0-beta.0, < 1.7.27; >= 2.0.0-beta.0, < 2.0.41.6.38, 1.7.27, 2.0.4

What to do

Update to a fixed version: 1.6.38, 1.7.27, 2.0.4.

Why this score

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededHighAdmin or equivalentFrom the CVSS vector0.20
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.3% chance of exploitation in 30 days (percentile 25), as of 2026-12-04.

The arithmetic
  1. Prerequisites multiplied together0.100
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.3 × prerequisites 0.1 × threat 0.850.255
  4. Rounded to one decimal between 0.1 and 100.3

How the score works

Exploitation and evidence timeline

  1. 17 Mar 2025 Published
  2. 3 Dec 2026 Risk 0.3 (cvss fallback)

Weakness

CWE-190

References

Get alerts for containerd

Free email or text alerts when a vulnerability in containerd reaches risk 8 or higher. Nothing else.