CVE-2023-25153
containerd OCI image importer memory exhaustion
Reported by github_m · Published February 16, 2023
github.com/containerd/containerd is fixed in 1.6.18 and 1.5.18 (Go Modules)
containerd is an open source container runtime. Before versions 1.6.18 and 1.5.18, when importing an OCI image, there was no limit on the number of bytes read for certain files. A maliciously crafted image with a large file where a limit was not applied could cause a denial of service. This bug has been fixed in containerd 1.6.18 and 1.5.18. Users should update to these versions to resolve the issue. As a workaround, ensure that only trusted images are used and that only trusted users have permissions to import images.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/containerd/containerd | Go Modules | 1.6.18, 1.5.18 |
| containerd | Amazon Linux | 1.6.19-1.amzn2023.0.1 |
| containerd | Alpine | 1.6.18-r0 |
| flux-helm-controller-0.37 | Chainguard | 0.27.0-r7 |
| containerd-stress | Amazon Linux | 1.6.19-1.amzn2023.0.1 |
| ctop | Wolfi | 0.7.7-r13 |
| containerd | linuxfoundation | 1.6.18, 1.5.18 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| containerd | containerd | < 1.5.18, >= 1.6.0, < 1.6.18 |
| amazon:2023 | containerd | 0 |
| alpine | containerd | 0 |
| chainguard | flux-helm-controller-0.37 | 0 |
| amazon:2023 | containerd-stress | 0 |
| github.com | containerd/containerd | 0, 1.6.0 |
| wolfi | ctop | 0 |
| containerd | containerd | 0, 1.6.0 |
| chainguard | ctop | 0 |
Timeline
- Feb 16, 2023 CVE Published
- Feb 17, 2023 EPSS Score (30 in total, the first dated here)
- Mar 10, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-25153
vulnetix vdb fixes CVE-2023-25153
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-25153/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/containerd/containerd/security/advisories/GHSA-259w-8hf6-59c2 x_refsource_CONFIRM
- https://github.com/containerd/containerd/commit/0c314901076a74a7b797a545d2f462285fdbb8c4 x_refsource_MISC
- https://github.com/containerd/containerd/releases/tag/v1.5.18 x_refsource_MISC
- https://github.com/containerd/containerd/releases/tag/v1.6.18 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2023-25153 advisory
- https://github.com/advisories/GHSA-259w-8hf6-59c2 advisory