GHSA-jpcc-p29g-p8mq
containerd image-triggered runtime DoS via unbounded group parsing
Quick fix
GHSA-jpcc-p29g-p8mq — github.com/containerd/containerd/v2: upgrade to the fixed version with the command below.
go get github.com/containerd/containerd/v2@v2.0.10Details
### Impact A vulnerability in containerd allows a maliciously crafted image to cause a Denial of Service (DoS) condition. When creating a container from this image, memory exhaustion occurs, leading to an Out Of Memory (OOM) kill of the containerd process. This renders the container runtime API unavailable and can disrupt clients such as the Docker Engine or Kubernetes control-plane components.
### Patches This bug has been fixed in the following containerd versions:
* 2.3.2 * 2.2.5 * 2.1.9 * 2.0.10 * 1.7.33
Users should update to these versions to resolve the issue.
### Workarounds Ensure that only trusted images are used and that only trusted users have permissions to import images or schedule pods.
### Credits
The containerd project would like to thank Jakub Ciolek (@jake-ciolek) at AlphaSense and Kyle Elliott @ Trail of Bits who independently discovered and responsibly disclosed this issue in accordance with the [containerd security policy](https://github.com/containerd/project/blob/main/SECURITY.md).
### For more information
If you have any questions or comments about this advisory:
* Open an issue in [containerd](https://github.com/containerd/containerd/issues/new/choose) * Email us at [security@containerd.io](mailto:security@containerd.io)
To report a security issue in containerd: * [Report a new vulnerability](https://github.com/containerd/containerd/security/advisories/new) * Email us at [security@containerd.io](mailto:security@containerd.io)
Are you affected?
Enter the version of the package you're using.
Affected packages
2.0.0Fixed in: 2.0.10go get github.com/containerd/containerd/v2@v2.0.101.7.0Fixed in: 1.7.33go get github.com/containerd/containerd@v1.7.332.1.0Fixed in: 2.1.9go get github.com/containerd/containerd/v2@v2.1.92.2.0Fixed in: 2.2.5go get github.com/containerd/containerd/v2@v2.2.52.3.0Fixed in: 2.3.2go get github.com/containerd/containerd/v2@v2.3.2