Time-of-check Time-of-use (TOCTOU) Race Condition
CVE-2025-47290
Summary
Containerd is a container runtime. A Time-of-check Time-of-use (TOCTOU) vulnerability was found in github.com/containerd/containerd package versions 2.1.0-beta.0 through 2.1.0. While unpacking an image during an image pull, specially crafted container images can arbitrarily modify the host file system. As a workaround, ensure that only trusted images are used and that only trusted users have permissions to import images.
- HIGH
- NETWORK
- HIGH
- UNCHANGED
- NONE
- NONE
- NONE
- NONE
CWE-367 - Time-of-check Time-of-use (TOCTOU) Race Condition
The software checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. This can cause the software to perform invalid actions when the resource is in an unexpected state.
References
Advisory Timeline
- Published