Containerd
Containerd vulnerable to host filesystem access during image unpack
containerd is a container runtime. A time-of-check to time-of-use (TOCTOU) vulnerability was found in containerd v2.1.0. While unpacking an image during an image pull, specially crafted container images could arbitrarily modify the host file system. The only affected version of containerd is 2.1.0. Other versions of containerd are not affected. This bug has been fixed in containerd 2.1.1. Users should update to this version to resolve the issue. As a workaround, ensure that only trusted images are used and that only trusted users have permissions to import images.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- = 2.1.0
- >= 2.1.0, < 2.1.1
Fixed in 2.1.1
from GitHub Security Advisory GHSA-cm76-qm8v-3j95
Mitigation
Upgrade github.com/containerd/containerd/v2 to 2.1.1 or later.
References
- Vendor advisory github.com/containerd/containerd/security/advi…
- Patch github.com/containerd/containerd/commit/cada13…
- Release notes github.com/containerd/containerd/releases/tag/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.