# CVE-2024-25621: CVE-2024-25621

Status: published. Published: 2025-11-06. Updated: 2026-11-08.

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.

## Remediation

- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: security-advisories@github.com) — https://github.com/containerd/containerd/commit/7c59e8e9e970d38061a77b586b23655c352bfec5
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: security-advisories@github.com) — https://github.com/containerd/containerd/security/advisories/GHSA-pwhc-rpq9-4c8w
- 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) — https://github.com/advisories/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) — https://github.com/advisories/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) — https://github.com/advisories/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) — https://github.com/advisories/GHSA-pwhc-rpq9-4c8w

## Affected products and versions

- linuxfoundation / containerd: < 1.7.29 (affected, custom). Source: NVD
- linuxfoundation / containerd: ≥ 2.0.0; < 2.0.7 (affected, custom). Source: NVD
- linuxfoundation / containerd: ≥ 2.1.0; < 2.1.5 (affected, custom). Source: NVD
- linuxfoundation / containerd: 2.2.0 (affected, custom). Source: NVD
-  / github.com/containerd/containerd (github.com/containerd/containerd): ≥ 0; < 1.7.29 (affected, semver); OSV events: introduced 0; fixed 1.7.29. Source: OSV GHSA-pwhc-rpq9-4c8w
-  / github.com/containerd/containerd/v2 (github.com/containerd/containerd/v2): ≥ 0; < 2.0.7 (affected, semver); OSV events: introduced 0; fixed 2.0.7. Source: OSV GHSA-pwhc-rpq9-4c8w
-  / github.com/containerd/containerd/v2 (github.com/containerd/containerd/v2): ≥ 2.1.0-beta.0; < 2.1.5 (affected, semver); OSV events: introduced 2.1.0-beta.0; fixed 2.1.5. Source: OSV GHSA-pwhc-rpq9-4c8w
-  / github.com/containerd/containerd/v2 (github.com/containerd/containerd/v2): ≥ 2.2.0-beta.0; < 2.2.0 (affected, semver); OSV events: introduced 2.2.0-beta.0; fixed 2.2.0. Source: OSV GHSA-pwhc-rpq9-4c8w

## NVD configuration conditions

Affected CPE matches depend on the following AND/OR and negation conditions:

```json
[
  {
    "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"
  }
]
```

## Severity and prioritization

- CVSS 3.1: 7.8 (high); CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H; source: NVD: nvd@nist.gov

- CVSS 3.1: 7.3 (high); CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H; source: NVD: security-advisories@github.com

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: exploitation none; automatable no; technical impact total; source NVD SSVC: 134c704f-9b21-4f2e-91b3-4a467353bcc0

- Weaknesses: CWE-279

## Exploit evidence

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

## References

- https://github.com/containerd/containerd/blob/main/docs/rootless.md (security-advisories@github.com; Product)

- https://github.com/containerd/containerd/commit/7c59e8e9e970d38061a77b586b23655c352bfec5 (security-advisories@github.com; Patch)

- https://github.com/containerd/containerd/security/advisories/GHSA-pwhc-rpq9-4c8w (security-advisories@github.com; Patch, Vendor Advisory)

- https://github.com/advisories/GHSA-pwhc-rpq9-4c8w (OSV / GitHub Security Advisories; advisory)

- https://osv.dev/vulnerability/GHSA-pwhc-rpq9-4c8w (OSV / GitHub Security Advisories; osv)

## Provenance

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-25621; retrieved 2026-11-09; source updated 2026-11-08

- OSV / GitHub Security Advisories: https://osv.dev/vulnerability/GHSA-pwhc-rpq9-4c8w; retrieved 2026-11-09; source updated 2026-09-10

Revision: 394739dd43f09b5d5774026c20893379fa8915257bd2e1b3d719c5165bc2d5ca

Canonical: https://y2.dev/cve/CVE-2024-25621

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.