Vulnerability · Published May 20, 2025 · Assigned by GitHub_M
CVE-2025-47290Containerd vulnerable to host filesystem access during image unpack
High 7.6
In plain English
A high-severity security flaw in containerd from containerd. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.22 | containerd | 2.1.1-r0 | ALPINE-CVE-2025-47290 |
| Alpine:v3.23 | containerd | 2.1.1-r0 | ALPINE-CVE-2025-47290 |
| Alpine:v3.24 | containerd | 2.1.1-r0 | ALPINE-CVE-2025-47290 |
| Go | github.com/containerd/containerd/v2 | 2.1.1 | GO-2025-3699 |
| Go | github.com/containerd/containerd/v2 | 2.1.1 | GHSA-cm76-qm8v-3j95 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| containerd | containerd | = 2.1.0 |
Weakness: CWE-367 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:U