p PatchFirst

CVE-2024-25621

CVE-2024-25621 · containerd affected by a local privilege escalation via wide permissions on CRI directory

This page contains facts from public vulnerability sources. Check the original advisory before updating.

containerd is an open-source container runtime. Versions 0.1.0 through 1.7.28, 2.0.0-beta.0 through 2.0.6, 2.1.0-beta.0 through 2.1.4 and 2.2.0-beta.0 through 2.2.0-rc.1 have an overly broad default permission vulnerability. Directory paths `/var/lib/containerd`, `/run/containerd/io.containerd.grpc.v1.cri` and `/run/containerd/io.containerd.sandbox.controller.v1.shim` were all created with incorrect permissions. This issue is fixed in versions 1.7.29, 2.0.7, 2.1.5 and 2.2.0. Workarounds include updating system administrator permissions so the host can manually chmod the directories to not have group or world accessible permissions, or to run containerd in rootless mode.

CVSS 7.3 · High · EPSS 0.2% · Fix available

Published
Updated

Stack: system · containers

Affected products and versions

  • containerd

    Versions
    • < 1.7.29: Affected
    • >= 2.0.0-beta.0, < 2.0.7: Affected
    • >= 2.1.0-beta.0, < 2.1.5: Affected
    • >= 2.2.0-beta.0, < 2.2.0: Affected

    No fix published

  • containerd Debian:12

    Versions
    • 1.6.20~ds1-1
    • 1.6.20~ds1-1+deb12u1
    Affected ranges
    • ECOSYSTEM: < 1.6.20~ds1-1+deb12u2

    Update to 1.6.20~ds1-1+deb12u2

  • containerd Debian:13

    Versions
    • 1.7.24~ds1-6
    Affected ranges
    • ECOSYSTEM: < 1.7.24~ds1-6+deb13u1

    Update to 1.7.24~ds1-6+deb13u1

  • containerd Debian:14

    Versions
    • 1.7.24~ds1-6
    • 1.7.24~ds1-7
    • 1.7.24~ds1-8
    Affected ranges
    • ECOSYSTEM: < 1.7.24~ds1-9

    Update to 1.7.24~ds1-9

  • containerd Ubuntu:Pro:16.04:LTS

    Versions
    • 0.2.1-0ubuntu4~16.04
    • 0.2.3-0ubuntu1~16.04
    • 0.2.5-0ubuntu1~16.04.1
    • 1.2.6-0ubuntu1~16.04.2
    • 1.2.6-0ubuntu1~16.04.3
    • 1.2.6-0ubuntu1~16.04.4
    • 1.2.6-0ubuntu1~16.04.5
    • 1.2.6-0ubuntu1~16.04.6
    • 1.2.6-0ubuntu1~16.04.6+esm1
    • 1.2.6-0ubuntu1~16.04.6+esm2
    • 1.2.6-0ubuntu1~16.04.6+esm4
    • 1.2.6-0ubuntu1~16.04.6+esm5
    Affected ranges
    • ECOSYSTEM: < 1.2.6-0ubuntu1~16.04.6+esm6

    Update to 1.2.6-0ubuntu1~16.04.6+esm6

  • containerd Ubuntu:Pro:18.04:LTS

    Versions
    • 0.2.5-0ubuntu2
    • 1.2.6-0ubuntu1~18.04.1
    • 1.2.6-0ubuntu1~18.04.2
    • 1.3.3-0ubuntu1~18.04.1
    • 1.3.3-0ubuntu1~18.04.2
    • 1.3.3-0ubuntu1~18.04.3
    • 1.3.3-0ubuntu1~18.04.4
    • 1.4.4-0ubuntu1~18.04.2
    • 1.5.2-0ubuntu1~18.04.1
    • 1.5.2-0ubuntu1~18.04.2
    • 1.5.2-0ubuntu1~18.04.3
    • 1.5.5-0ubuntu3~18.04.1
    • 1.5.5-0ubuntu3~18.04.2
    • 1.5.9-0ubuntu1~18.04.1
    • 1.5.9-0ubuntu1~18.04.2
    • 1.6.12-0ubuntu1~18.04.1
    • 1.6.12-0ubuntu1~18.04.1+esm1
    • 1.6.12-0ubuntu1~18.04.1+esm2
    Affected ranges
    • ECOSYSTEM: < 1.6.12-0ubuntu1~18.04.1+esm3

    Update to 1.6.12-0ubuntu1~18.04.1+esm3

  • containerd Ubuntu:Pro:20.04:LTS

    Versions
    • 1.2.10-0ubuntu1
    • 1.3.2-0ubuntu1
    • 1.3.3-0ubuntu1
    • 1.3.3-0ubuntu2
    • 1.3.3-0ubuntu2.1
    • 1.3.3-0ubuntu2.2
    • 1.3.3-0ubuntu2.3
    • 1.4.4-0ubuntu1~20.04.2
    • 1.5.2-0ubuntu1~20.04.1
    • 1.5.2-0ubuntu1~20.04.2
    • 1.5.2-0ubuntu1~20.04.3
    • 1.5.5-0ubuntu3~20.04.1
    • 1.5.5-0ubuntu3~20.04.2
    • 1.5.9-0ubuntu1~20.04.1
    • 1.5.9-0ubuntu1~20.04.4
    • 1.5.9-0ubuntu1~20.04.5
    • 1.5.9-0ubuntu1~20.04.6
    • 1.6.12-0ubuntu1~20.04.1
    • 1.6.12-0ubuntu1~20.04.3
    • 1.6.12-0ubuntu1~20.04.5
    • 1.6.12-0ubuntu1~20.04.6
    • 1.6.12-0ubuntu1~20.04.7
    • 1.6.12-0ubuntu1~20.04.8
    Affected ranges
    • ECOSYSTEM: < 1.6.12-0ubuntu1~20.04.8+esm1

    Update to 1.6.12-0ubuntu1~20.04.8+esm1

  • containerd-app Ubuntu:Pro:20.04:LTS

    Versions
    • 1.7.2-0ubuntu1~20.04.1
    • 1.7.12-0ubuntu2~20.04.1
    • 1.7.24-0ubuntu1~20.04.1
    • 1.7.24-0ubuntu1~20.04.2
    Affected ranges
    • ECOSYSTEM: < 1.7.24-0ubuntu1~20.04.2+esm1

    Update to 1.7.24-0ubuntu1~20.04.2+esm1

  • containerd Ubuntu:22.04:LTS

    Versions
    • 1.5.5-0ubuntu3
    • 1.5.9-0ubuntu1
    • 1.5.9-0ubuntu2
    • 1.5.9-0ubuntu3
    • 1.5.9-0ubuntu3.1
    • 1.6.12-0ubuntu1~22.04.1
    • 1.6.12-0ubuntu1~22.04.3
    • 1.6.12-0ubuntu1~22.04.5
    • 1.6.12-0ubuntu1~22.04.6
    • 1.6.12-0ubuntu1~22.04.7
    • 1.6.12-0ubuntu1~22.04.8
    • 1.6.12-0ubuntu1~22.04.9
    Affected ranges
    • ECOSYSTEM: < 1.6.12-0ubuntu1~22.04.10

    Update to 1.6.12-0ubuntu1~22.04.10

  • containerd-app Ubuntu:Pro:22.04:LTS

    Versions
    • 1.7.2-0ubuntu1~22.04.1
    • 1.7.12-0ubuntu2~22.04.1
    • 1.7.24-0ubuntu1~22.04.1
    • 1.7.24-0ubuntu1~22.04.2
    • 1.7.27-0ubuntu1~22.04.1
    • 1.7.28-0ubuntu1~22.04.1
    Affected ranges
    • ECOSYSTEM: < 1.7.28-0ubuntu1~22.04.1+esm1

    Update to 1.7.28-0ubuntu1~22.04.1+esm1

  • containerd-app Ubuntu:24.04:LTS

    Versions
    • 1.7.2-0ubuntu2
    • 1.7.12-0ubuntu1
    • 1.7.12-0ubuntu2
    • 1.7.12-0ubuntu3
    • 1.7.12-0ubuntu4
    • 1.7.12-0ubuntu4.1
    • 1.7.19-0ubuntu1~24.04.1
    • 1.7.19+really1.7.12-0ubuntu4.2
    • 1.7.24-0ubuntu1~24.04.1
    • 1.7.24-0ubuntu1~24.04.2
    • 1.7.27-0ubuntu1~24.04.1
    • 1.7.28-0ubuntu1~24.04.1
    Affected ranges
    • ECOSYSTEM: < 1.7.28-0ubuntu1~24.04.2

    Update to 1.7.28-0ubuntu1~24.04.2

  • containerd Ubuntu:Pro:24.04:LTS

    Versions
    • 1.6.20~ds1-1ubuntu2
    • 1.6.24~ds1-1ubuntu1
    • 1.6.24~ds1-1ubuntu1.1
    • 1.6.24~ds1-1ubuntu1.2
    • 1.6.24~ds1-1ubuntu1.2+esm1
    • 1.6.24~ds1-1ubuntu1.3
    • 1.6.24~ds1-1ubuntu1.3+esm1
    Affected ranges
    • ECOSYSTEM: < 1.6.24~ds1-1ubuntu1.3+esm2

    Update to 1.6.24~ds1-1ubuntu1.3+esm2

  • containerd Ubuntu:25.10

    Versions
    • 1.7.24~ds1-5ubuntu1
    • 1.7.24~ds1-6ubuntu1
    • 1.7.24~ds1-8ubuntu1
    Affected ranges
    • ECOSYSTEM: < 1.7.24~ds1-8ubuntu1.1

    Update to 1.7.24~ds1-8ubuntu1.1

  • containerd-app Ubuntu:25.10

    Versions
    • 2.0.2-0ubuntu2
    • 2.0.5-0ubuntu1
    • 2.1.3-0ubuntu2
    • 2.1.3-0ubuntu3
    Affected ranges
    • ECOSYSTEM: < 2.1.3-0ubuntu3.1

    Update to 2.1.3-0ubuntu3.1

Original sources

Check your server →