Public vulnerability disclosure

CVE-2024-25621

CVE-2024-25621

publishedCWE-279

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.

Technical severity7.8 highCVSS 3.1 · NVD: [email protected]
Published2025-11-06Source updated 2026-11-08
Collected2026-11-092 attributed sources

Fixes and workarounds

Fix

The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.

Source: [email protected]

Fix

The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.

Source: [email protected]

Fix

github.com/containerd/containerd (Go): OSV reports a fixed version 1.7.29. Check the advisory for supported release branches.

Source: OSV GHSA-pwhc-rpq9-4c8w

Fix

github.com/containerd/containerd/v2 (Go): OSV reports a fixed version 2.0.7. Check the advisory for supported release branches.

Source: OSV GHSA-pwhc-rpq9-4c8w

Fix

github.com/containerd/containerd/v2 (Go): OSV reports a fixed version 2.1.5. Check the advisory for supported release branches.

Source: OSV GHSA-pwhc-rpq9-4c8w

Fix

github.com/containerd/containerd/v2 (Go): OSV reports a fixed version 2.2.0. Check the advisory for supported release branches.

Source: OSV GHSA-pwhc-rpq9-4c8w

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
containerd
linuxfoundation
< 1.7.29 (affected, custom) NVD
containerd
linuxfoundation
≥ 2.0.0; < 2.0.7 (affected, custom) NVD
containerd
linuxfoundation
≥ 2.1.0; < 2.1.5 (affected, custom) NVD
containerd
linuxfoundation
2.2.0 (affected, custom) NVD
github.com/containerd/containerd

github.com/containerd/containerd
Go
≥ 0; < 1.7.29 (affected, semver); OSV events: introduced 0; fixed 1.7.29
Source events (semver)
[
  {
    "introduced": "0"
  },
  {
    "fixed": "1.7.29"
  }
]

Other versions: unaffected
OSV GHSA-pwhc-rpq9-4c8w
github.com/containerd/containerd/v2

github.com/containerd/containerd/v2
Go
≥ 0; < 2.0.7 (affected, semver); OSV events: introduced 0; fixed 2.0.7
Source events (semver)
[
  {
    "introduced": "0"
  },
  {
    "fixed": "2.0.7"
  }
]

Other versions: unaffected
OSV GHSA-pwhc-rpq9-4c8w
github.com/containerd/containerd/v2

github.com/containerd/containerd/v2
Go
≥ 2.1.0-beta.0; < 2.1.5 (affected, semver); OSV events: introduced 2.1.0-beta.0; fixed 2.1.5
Source events (semver)
[
  {
    "introduced": "2.1.0-beta.0"
  },
  {
    "fixed": "2.1.5"
  }
]

Other versions: unaffected
OSV GHSA-pwhc-rpq9-4c8w
github.com/containerd/containerd/v2

github.com/containerd/containerd/v2
Go
≥ 2.2.0-beta.0; < 2.2.0 (affected, semver); OSV events: introduced 2.2.0-beta.0; fixed 2.2.0
Source events (semver)
[
  {
    "introduced": "2.2.0-beta.0"
  },
  {
    "fixed": "2.2.0"
  }
]

Other versions: unaffected
OSV GHSA-pwhc-rpq9-4c8w

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

NVD applicability configurations (1)

These expressions retain AND/OR operators, negation, and required environmental products. A listed product is not sufficient to establish exposure when additional conditions apply.

[
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "1.7.29",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "2.0.7",
            "versionStartIncluding": "2.0.0",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "2.1.5",
            "versionStartIncluding": "2.1.0",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:linuxfoundation:containerd:2.2.0:beta0:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:linuxfoundation:containerd:2.2.0:beta1:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:linuxfoundation:containerd:2.2.0:beta2:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:linuxfoundation:containerd:2.2.0:rc0:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:linuxfoundation:containerd:2.2.0:rc1:*:*:*:*:*:*",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  }
]

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 7.8
high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD: [email protected]
3.1 / 7.3
high
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HNVD: [email protected]

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide