{"schema_version":"1.7.3","id":"GHSA-m6hq-p25p-ffr2","published":"2025-11-06T23:32:23Z","modified":"2026-02-04T03:36:05.610703Z","aliases":["CVE-2025-64329","GO-2025-4108"],"related":["CGA-7jqj-8457-jm46"],"summary":"containerd CRI server: Host memory exhaustion through Attach goroutine leak","details":"### Impact\n\nA bug was found in containerd's CRI Attach implementation where a user can exhaust memory on the host due to goroutine leaks. \n\nRepetitive calls of CRI Attach (e.g., [`kubectl attach`](https://kubernetes.io/docs/reference/kubectl/generated/kubectl_attach/)) could increase the memory usage of containerd.\n\n### Patches\n\nThis bug has been fixed in the following containerd versions:\n\n* 2.2.0\n* 2.1.5\n* 2.0.7\n* 1.7.29\n\nUsers should update to these versions to resolve the issue.\n\n### Workarounds\n\nSet up an admission controller to control accesses to `pods/attach` resources.\ne.g., [Validating Admission Policy](https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/).\n\n### Credits\n\nThe containerd project would like to thank @Wheat2018 for responsibly disclosing this issue in accordance with the [containerd security policy](https://github.com/containerd/project/blob/main/SECURITY.md).\n\n### References\n\nhttps://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-64329\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n* Open an issue in [containerd](https://github.com/containerd/containerd/issues/new/choose)\n* Email us at [security@containerd.io](mailto:security@containerd.io)\n\nTo report a security issue in containerd:\n\n* [Report a new vulnerability](https://github.com/containerd/containerd/security/advisories/new)","affected":[{"package":{"name":"github.com/containerd/containerd","ecosystem":"Go","purl":"pkg:golang/github.com/containerd/containerd"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.7.29"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-m6hq-p25p-ffr2/GHSA-m6hq-p25p-ffr2.json"}},{"package":{"name":"github.com/containerd/containerd/v2","ecosystem":"Go","purl":"pkg:golang/github.com/containerd/containerd/v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.7"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-m6hq-p25p-ffr2/GHSA-m6hq-p25p-ffr2.json"}},{"package":{"name":"github.com/containerd/containerd/v2","ecosystem":"Go","purl":"pkg:golang/github.com/containerd/containerd/v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.1.0-beta.0"},{"fixed":"2.1.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-m6hq-p25p-ffr2/GHSA-m6hq-p25p-ffr2.json"}},{"package":{"name":"github.com/containerd/containerd/v2","ecosystem":"Go","purl":"pkg:golang/github.com/containerd/containerd/v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.2.0-beta.0"},{"fixed":"2.2.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-m6hq-p25p-ffr2/GHSA-m6hq-p25p-ffr2.json"}}],"references":[{"type":"WEB","url":"https://github.com/containerd/containerd/security/advisories/GHSA-m6hq-p25p-ffr2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64329"},{"type":"WEB","url":"https://github.com/containerd/containerd/commit/083b53cd6f19b5de7717b0ce92c11bdf95e612df"},{"type":"PACKAGE","url":"https://github.com/containerd/containerd"}],"database_specific":{"cwe_ids":["CWE-401"],"github_reviewed":true,"github_reviewed_at":"2025-11-06T23:32:23Z","nvd_published_at":"2025-11-07T05:16:08Z","severity":"MODERATE"},"severity":[{"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"}]}