Skip to content
Heist/ feed
Back to feed
Medium

containerd CRI plugin: Incorrect cgroup hierarchy assignment for containers running in usernamespaced Kubernetes pods.

Type: advisorySources: OSV

containerd is an open-source container runtime. A bug was found in the containerd's CRI implementation where containerd, starting in version 2.0.1 and prior to version 2.0.5, doesn't put usernamespaced containers under the Kubernetes' cgroup hierarchy, therefore some Kubernetes limits are not honored. This may cause a denial of service of the Kubernetes node. This bug has been fixed in containerd 2.0.5+ and 2.1.0+. Users should update to these versions to resolve the issue. As a workaround, disable usernamespaced pods in Kubernetes temporarily.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-47291
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 01:23 UTC · Revision 1

Source evidence

containerd CRI plugin: Incorrect cgroup hierarchy assignment for containers running in usernamespaced Kubernetes pods.

core-osv · Original source

Published 21 May 2025, 17:26 UTC

containerd is an open-source container runtime. A bug was found in the containerd's CRI implementation where containerd, starting in version 2.0.1 and prior to version 2.0.5, doesn't put usernamespaced containers under the Kubernetes' cgroup hierarchy, therefore some Kubernetes limits are not honored. This may cause a denial of service of the Kubernetes node. This bug has been fixed in containerd 2.0.5+ and 2.1.0+. Users should update to these versions to resolve the issue. As a workaround, disable usernamespaced pods in Kubernetes temporarily.

osv:CVE-2025-47291
Complete source record
{
  "id": "5e40d78db2abe66aed4cf5010e9965818dfa9e9fc14055b8f913e128d35a7ac7",
  "url": "https://osv.dev/vulnerability/CVE-2025-47291",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "containerd CRI plugin: Incorrect cgroup hierarchy assignment for containers running in usernamespaced Kubernetes pods.",
    "summary": "containerd is an open-source container runtime. A bug was found in the containerd's CRI implementation where containerd, starting in version 2.0.1 and prior to version 2.0.5, doesn't put usernamespaced containers under the Kubernetes' cgroup hierarchy, therefore some Kubernetes limits are not honored. This may cause a denial of service of the Kubernetes node. This bug has been fixed in containerd 2.0.5+ and 2.1.0+. Users should update to these versions to resolve the issue. As a workaround, disable usernamespaced pods in Kubernetes temporarily.",
    "evidence": "osv:CVE-2025-47291",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-47291",
      "aliases": [
        "CVE-2025-47291",
        "GHSA-cxfp-7pvr-95ff",
        "GO-2025-3701"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/containerd/containerd",
              "type": "GIT",
              "events": [
                {
                  "introduced": "88aa2f531d6c2922003cc7929e51daf1c14caa0a"
                },
                {
                  "fixed": "fb4c30d4ede3531652d86197bf3fc9515e5276d9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "2.0.1"
                      },
                      {
                        "fixed": "2.0.5"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "cpe": "cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.1"
                      },
                      {
                        "fixed": "2.0.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.0.4",
            "v2.0.3",
            "v2.0.2",
            "v2.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-47291.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:48.710187014Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/47xxx/CVE-2025-47291.json",
        "https://github.com/containerd/containerd/security/advisories/GHSA-cxfp-7pvr-95ff",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-47291"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-266"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/47xxx/CVE-2025-47291.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-47291",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 516953,
  "published_at": "2025-05-21T17:26:31.141+00:00"
}