UBUNTU-CVE-2024-25621 (CVE-2024-25621)
Vulnerability from osv_ubuntu – Published: 2025-11-06 19:15 – Updated: 2026-01-30 05:28 – Source websitecontainerd 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.
{
"affected": [
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "containerd",
"binary_version": "1.2.6-0ubuntu1~16.04.6+esm6"
},
{
"binary_name": "golang-github-docker-containerd-dev",
"binary_version": "1.2.6-0ubuntu1~16.04.6+esm6"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "containerd",
"purl": "pkg:deb/ubuntu/containerd@1.2.6-0ubuntu1~16.04.6+esm6?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2.6-0ubuntu1~16.04.6+esm6"
}
],
"type": "ECOSYSTEM"
}
],
"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"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "containerd",
"binary_version": "1.6.12-0ubuntu1~18.04.1+esm3"
},
{
"binary_name": "golang-github-containerd-containerd-dev",
"binary_version": "1.6.12-0ubuntu1~18.04.1+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "containerd",
"purl": "pkg:deb/ubuntu/containerd@1.6.12-0ubuntu1~18.04.1+esm3?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.6.12-0ubuntu1~18.04.1+esm3"
}
],
"type": "ECOSYSTEM"
}
],
"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"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "golang-github-containerd-containerd-dev",
"binary_version": "1.6.12-0ubuntu1~20.04.8+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "containerd",
"purl": "pkg:deb/ubuntu/containerd@1.6.12-0ubuntu1~20.04.8+esm1?arch=source\u0026distro=esm-infra/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.6.12-0ubuntu1~20.04.8+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"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"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "containerd",
"binary_version": "1.7.24-0ubuntu1~20.04.2+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "containerd-app",
"purl": "pkg:deb/ubuntu/containerd-app@1.7.24-0ubuntu1~20.04.2+esm1?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.7.24-0ubuntu1~20.04.2+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"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"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-github-containerd-containerd-dev",
"binary_version": "1.6.12-0ubuntu1~22.04.10"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "containerd",
"purl": "pkg:deb/ubuntu/containerd@1.6.12-0ubuntu1~22.04.10?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.6.12-0ubuntu1~22.04.10"
}
],
"type": "ECOSYSTEM"
}
],
"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"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "containerd",
"binary_version": "1.7.28-0ubuntu1~22.04.1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "containerd-app",
"purl": "pkg:deb/ubuntu/containerd-app@1.7.28-0ubuntu1~22.04.1+esm1?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.7.28-0ubuntu1~22.04.1+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"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"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "containerd",
"binary_version": "1.7.28-0ubuntu1~24.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "containerd-app",
"purl": "pkg:deb/ubuntu/containerd-app@1.7.28-0ubuntu1~24.04.2?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.7.28-0ubuntu1~24.04.2"
}
],
"type": "ECOSYSTEM"
}
],
"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"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "golang-github-containerd-containerd-dev",
"binary_version": "1.6.24~ds1-1ubuntu1.3+esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:24.04:LTS",
"name": "containerd",
"purl": "pkg:deb/ubuntu/containerd@1.6.24~ds1-1ubuntu1.3+esm2?arch=source\u0026distro=esm-apps/noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.6.24~ds1-1ubuntu1.3+esm2"
}
],
"type": "ECOSYSTEM"
}
],
"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"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-github-containerd-containerd-api-dev",
"binary_version": "1.7.24~ds1-8ubuntu1.1"
},
{
"binary_name": "golang-github-containerd-containerd-dev",
"binary_version": "1.7.24~ds1-8ubuntu1.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "containerd",
"purl": "pkg:deb/ubuntu/containerd@1.7.24~ds1-8ubuntu1.1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.7.24~ds1-8ubuntu1.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.7.24~ds1-5ubuntu1",
"1.7.24~ds1-6ubuntu1",
"1.7.24~ds1-8ubuntu1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "containerd",
"binary_version": "2.1.3-0ubuntu3.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "containerd-app",
"purl": "pkg:deb/ubuntu/containerd-app@2.1.3-0ubuntu3.1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.1.3-0ubuntu3.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.0.2-0ubuntu2",
"2.0.5-0ubuntu1",
"2.1.3-0ubuntu2",
"2.1.3-0ubuntu3"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2024-25621",
"modified": "2026-01-30T05:28:04Z",
"published": "2025-11-06T19:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-25621"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2024-25621"
},
{
"type": "REPORT",
"url": "https://github.com/containerd/containerd/security/advisories/GHSA-pwhc-rpq9-4c8w"
},
{
"type": "REPORT",
"url": "https://github.com/containerd/containerd/blob/main/docs/rootless.md"
},
{
"type": "REPORT",
"url": "https://github.com/containerd/containerd/commit/7c59e8e9e970d38061a77b586b23655c352bfec5"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7983-1"
}
],
"related": [
"USN-7983-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2024-25621"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.