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

Published May 21, 2025
·
Updated

Impact

A bug was found in the containerd's CRI implementation where containerd 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.

Patches

This bug has been fixed in containerd 2.0.5+ and 2.1.0+. Users should update to these versions to resolve the issue.

Workarounds

Disable usernamespaced pods in Kubernetes temporarily.

Credits

The containerd project would like to thank Rodrigo Campos Catelin and Piotr Rogowski for responsibly disclosing this issue in accordance with the containerd security policy.

For more information If you have any questions or comments about this advisory:

Open an issue in containerd Email us at security@containerd.io

To report a security issue in containerd: Report a new vulnerability Email us at security@containerd.io

Other sources

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.

MITRE

Affected Software

3 affected componentsFixes available
containerd containerd>=2.0.1<2.0.5
go/github.com/containerd/containerd/v2>=2.0.1<=2.0.4
2.0.5
linuxfoundation Containerd>=2.0.1<2.0.5

Event History

May 21, 2025
CVE Published
via MITRE·05:26 PM
Data Sourced
via MITRE·05:26 PM
DescriptionWeakness
Advisory Published
via GitHub·06:01 PM
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-47291?

CVE-2025-47291 is categorized as a medium severity vulnerability.

2

How do I fix CVE-2025-47291?

To fix CVE-2025-47291, upgrade containerd to version 2.0.5 or later.

3

What specific versions of containerd are affected by CVE-2025-47291?

CVE-2025-47291 affects containerd versions from 2.0.1 up to, but not including, 2.0.5.

4

What are the potential consequences of CVE-2025-47291?

The vulnerability may cause usernamespaced containers to not respect Kubernetes cgroup hierarchy, leading to resource limits being ignored.

5

Is it safe to use containerd versions prior to 2.0.5?

Using containerd versions prior to 2.0.5 is not safe due to the presence of CVE-2025-47291, which can lead to resource management issues.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203