CVEfocus › CVE database › CVE-2024-25621

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

CVSS 7.3 HighEPSS 0.2% (higher than 6% of CVEs)Published 2025-11-06Updated 2025-11-06Assigner: GitHub_M

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.

CWE-279

What to do

Fixed builds are available from Debian, Go, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

9Fixed
6Fix pending
27Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04containerd-appNot affected
vulnerable_code_not_present
Ubuntu 25.10containerdFixed1.7.24~ds1-8ubuntu1.1UBUNTU-CVE-2024-25621
Ubuntu 25.10containerd-appFixed2.1.3-0ubuntu3.1UBUNTU-CVE-2024-25621
Ubuntu 24.04containerdFix pending1.6.24~ds1-1ubuntu1.3+esm2 (Ubuntu Pro)UBUNTU-CVE-2024-25621
Ubuntu 24.04containerd-appFixed1.7.28-0ubuntu1~24.04.2UBUNTU-CVE-2024-25621
Ubuntu 22.04containerdFixed1.6.12-0ubuntu1~22.04.10UBUNTU-CVE-2024-25621
Ubuntu 22.04containerd-appFix pending1.7.28-0ubuntu1~22.04.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-25621
Ubuntu 20.04containerdFix pending1.6.12-0ubuntu1~20.04.8+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-25621
Ubuntu 20.04containerd-appFix pending1.7.24-0ubuntu1~20.04.2+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-25621
Ubuntu 18.04containerdFix pending1.6.12-0ubuntu1~18.04.1+esm3 (Ubuntu Pro)UBUNTU-CVE-2024-25621
Ubuntu 16.04containerdFix pending1.2.6-0ubuntu1~16.04.6+esm6 (Ubuntu Pro)UBUNTU-CVE-2024-25621
Debian 14containerdFixed1.7.24~ds1-9DEBIAN-CVE-2024-25621
Debian 13containerdFixed1.7.24~ds1-6+deb13u1DEBIAN-CVE-2024-25621
Debian 12containerdFixed1.6.20~ds1-1+deb12u2DEBIAN-CVE-2024-25621
Red Hat Enterprise Linux 9buildahNot affected
Red Hat Enterprise Linux 9buildah-testsNot affected
Red Hat Enterprise Linux 9conmonNot affected
Red Hat Enterprise Linux 9podmanNot affected
Red Hat Enterprise Linux 9podman-catatonitNot affected
Red Hat Enterprise Linux 9podman-dockerNot affected
Red Hat Enterprise Linux 9podman-gvproxyNot affected
Red Hat Enterprise Linux 9podman-pluginsNot affected
Red Hat Enterprise Linux 9podman-remoteNot affected
Red Hat Enterprise Linux 9podman-testsNot affected
Red Hat Enterprise Linux 9skopeoNot affected
Red Hat Enterprise Linux 9skopeo-testsNot affected
Red Hat Enterprise Linux 8buildahNot affected
Red Hat Enterprise Linux 8buildah-testsNot affected
Red Hat Enterprise Linux 8conmonNot affected
Red Hat Enterprise Linux 8containers-commonNot affected
Red Hat Enterprise Linux 8podmanNot affected
Red Hat Enterprise Linux 8podman-catatonitNot affected
Red Hat Enterprise Linux 8podman-dockerNot affected
Red Hat Enterprise Linux 8podman-gvproxyNot affected
Red Hat Enterprise Linux 8podman-manpagesNot affected
Red Hat Enterprise Linux 8podman-pluginsNot affected
Red Hat Enterprise Linux 8podman-remoteNot affected
Red Hat Enterprise Linux 8podman-testsNot affected
Red Hat Enterprise Linux 8skopeoNot affected
Red Hat Enterprise Linux 8skopeo-testsNot affected
Go librarygithub.com/containerd/containerdFixed1.7.29GHSA-pwhc-rpq9-4c8w
Go librarygithub.com/containerd/containerd/v2Fixed2.0.7GHSA-pwhc-rpq9-4c8w

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.