GHSA-HC94-P972-CH66
containerd: host disk exhaustion when pulling an image with an unbounded layer stream
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-HC94-P972-CH66 divulgada | |
| Remediación | Parche v2.4.2 | github.com/containerd/containerd/v2 · 0 d desde divulgación | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Impact
A bug in containerd's image pull process can cause containerd to exhaust host disk space when downloading image layers. When pulling an image, containerd streams layer data into its content store without bounding incoming bytes to the declared size before validation. Downloading a crafted image or pulling from a malicious registry can cause containerd to continuously write data to the host filesystem until disk space is exhausted. In Kubernetes, this resource exhaustion can trigger node disk pressure, render the kubelet and containerd unresponsive, and block new pod startup.
Patches
This bug has been fixed in containerd 2.4.2, 2.3.7, 2.2.10, and 2.0.14. Users should update to these versions to resolve the issue.
Workarounds
Restrict pod image references to trusted registries (for example, using a Kubernetes `ValidatingAdmissionPolicy` or admission webhook).
Credits
The containerd project would like to thank Jakub Ciolek of AlphaSense for responsibly disclosing 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)
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
gogithub.com/containerd/containerd/v2 |
Corregida | v2.4.2 | 0 d | v2.4.2 no afectada |
2.4.2v2.4.2Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/containerd/containerd/security/advisories/GHSA-hc94-p972-ch66Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
