Advisory

GHSA-m6hq-p25p-ffr2

Also known as: CVE-2025-64329, GO-2025-4108

Summary

containerd CRI server: Host memory exhaustion through Attach goroutine leak

Details

Impact

A bug was found in containerd's CRI Attach implementation where a user can exhaust memory on the host due to goroutine leaks.

Repetitive calls of CRI Attach (e.g., `kubectl attach`) could increase the memory usage of containerd.

Patches

This bug has been fixed in the following containerd versions:

  • 2.2.0
  • 2.1.5
  • 2.0.7
  • 1.7.29

Users should update to these versions to resolve the issue.

Workarounds

Set up an admission controller to control accesses to pods/attach resources.
e.g., Validating Admission Policy.

Credits

The containerd project would like to thank @Wheat2018 for responsibly disclosing this issue in accordance with the containerd security policy.

References

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-64329

For more information

If you have any questions or comments about this advisory:

To report a security issue in containerd:

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-11-06 23:32 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/containerd/containerd

Go · All systems

Affected

  • introduced 0, fixed 1.7.29 (semver)

Fixed versions

1.7.29

Fix

github.com/containerd/containerd/v2

Go · All systems

Affected

  • introduced 0, fixed 2.0.7 (semver)

Fixed versions

2.0.7

Fix

github.com/containerd/containerd/v2

Go · All systems

Affected

  • introduced 2.1.0-beta.0, fixed 2.1.5 (semver)

Fixed versions

2.1.5

Fix

github.com/containerd/containerd/v2

Go · All systems

Affected

  • introduced 2.2.0-beta.0, fixed 2.2.0 (semver)

Fixed versions

2.2.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences