GHSA-RGH6-RFWX-V388
Arbitrary host CRI log file read via symlink following in CRI checkpoint restore
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche v2.1.9 | github.com/containerd/containerd/v2 · -1 d desde divulgación | |
| Remediación | Parche v2.2.5 | github.com/containerd/containerd/v2 · -1 d desde divulgación | |
| Remediación | Parche v2.3.2 | github.com/containerd/containerd/v2 · -1 d desde divulgación | |
| Divulgación | Publicada | GHSA-RGH6-RFWX-V388 divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
### Impact
A bug was found in containerd where the CRI plugin restores `container.log` from a checkpoint image without validating a symlinked path. This could result in reading an arbitrary file on the host via `kubectl logs`.
### Patches
This bug has been fixed in the following containerd versions:
- 2.3.2
- 2.2.5
- 2.1.9
Users should update to these versions to resolve the issue.
### Workarounds
Ensure that only trusted images and checkpoints are used.
### Credits
The containerd project would like to thank @gouldnicholas and @davidrxchester, Yuming Zhang and Song Li of Zhejiang University, Sangwon Ryu (@sangwon090), Henry Beberman (@hbeberman) of Microsoft, the GKE Security Team using Gemini, Anthropic Research, in collaboration with Claude, Robert Prast (@robertprast),
Kyle Elliott (@kyle-elliott-tob) of Trail of Bits, and Zhenchen Wang (@Plucky923), 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)
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.1.9, v2.2.5, v2.3.2 | -1 d · -1 d · -1 d | v2.4.2 no afectada |
2.1.9v2.1.92.2.5v2.2.52.3.2v2.3.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-rgh6-rfwx-v388https://github.com/containerd/containerdLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
