github.com/containerd/containerd/v2
Affected
- introduced
0, fixed2.0.4(semver)
Fixed versions
2.0.4
Fix
- Fixed version
2.0.4go get github.com/containerd/containerd/[email protected]
Advisory
Also known as: CVE-2024-40635, GO-2025-3528
containerd has an integer overflow in User ID handling
Impact
A bug was found in containerd 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.
Patches
This bug has been fixed in the following containerd versions:
Users should update to these versions to resolve the issue.
Workarounds
Ensure that only trusted images are used and that only trusted users have permissions to import images.
Credits
The containerd project would like to thank Benjamin Koltermann and emxll for responsibly disclosing this issue in accordance with the containerd security policy.
References
For more information
If you have any questions or comments about this advisory:
To report a security issue in containerd:
Medium Basis: The source's own band: MODERATE
0, fixed 2.0.4 (semver)2.0.4
2.0.4go get github.com/containerd/containerd/[email protected]1.7.0-beta.0, fixed 1.7.27 (semver)1.7.27
1.7.27go get github.com/containerd/[email protected]0, fixed 1.6.38 (semver)1.6.38
1.6.38go get github.com/containerd/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0