Containerd
containerd: Arbitrary host CRI log file read via symlink following in CRI checkpoint restore
containerd is an open-source container runtime. Versions prior to 2.3.2, 2.2.5 and 2.1.9 contain a bug 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. This issue has been fixed in versions 2.3.2, 2.2.5 and 2.1.9.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.2high · scored by CNA · CWE-61
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
containerd containerd
- >= 2.1.0, < 2.1.9
- >= 2.2.0, < 2.2.5
- >= 2.3.0, < 2.3.2
Fixed in 2.1.9, 2.2.5, 2.3.2
Mitigation
Upgrade containerd to 2.1.9 or 2.2.5 or 2.3.2 or later.
References
- Vendor advisory github.com/containerd/containerd/security/advi…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.