Advisory

UBUNTU-CVE-2024-40635

Also known as: CVE-2024-40635

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 4.6, vector CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N

Dates

Published
2025-03-17 22:15 UTC
Modified
2026-02-04 03:46 UTC

Affected packages and fixes

containerd

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 1.6.12-0ubuntu1~20.04.8 (ecosystem)

Fixed versions

1.6.12-0ubuntu1~20.04.8

Fix

  • Fixed version 1.6.12-0ubuntu1~20.04.8
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

containerd-app

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 1.7.24-0ubuntu1~20.04.2 (ecosystem)

Fixed versions

1.7.24-0ubuntu1~20.04.2

Fix

  • Fixed version 1.7.24-0ubuntu1~20.04.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

containerd

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.6.12-0ubuntu1~22.04.8 (ecosystem)

Fixed versions

1.6.12-0ubuntu1~22.04.8

Fix

  • Fixed version 1.6.12-0ubuntu1~22.04.8
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

containerd-app

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.7.24-0ubuntu1~22.04.2 (ecosystem)

Fixed versions

1.7.24-0ubuntu1~22.04.2

Fix

  • Fixed version 1.7.24-0ubuntu1~22.04.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

containerd-app

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1.7.24-0ubuntu1~24.04.2 (ecosystem)

Fixed versions

1.7.24-0ubuntu1~24.04.2

Fix

  • Fixed version 1.7.24-0ubuntu1~24.04.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

containerd-app

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 2.0.2-0ubuntu2 (ecosystem)

Fixed versions

2.0.2-0ubuntu2

Fix

  • Fixed version 2.0.2-0ubuntu2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

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

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences