CVE-2023-25153
MEDIUM 5.5CVSS 3.1OCI image importer memory exhaustion in github.com/containerd/containerd
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.
- Published
- 16 Feb 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-400CWE-770
- Also known as
- GHSA-259w-8hf6-59c2GO-2023-1573
- Sources
- NVDJSONOSV GHSA-259w-8hf6-59c2JSONOSV GO-2023-1573JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | containerdcpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:* |
< 1.5.18 | 1.5.18 |
| NVD | linuxfoundation | containerdcpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:* |
>= 1.6.0, < 1.6.18 | 1.6.18 |
| OSV | Go | github.com/containerd/containerd | < 1.5.18 | 1.5.18 |
| OSV | Go | github.com/containerd/containerd | >= 1.6.0, < 1.6.18 | 1.6.18 |
| OSV | Go | github.com/containerd/containerd | < 1.5.18; >= 1.6.0, < 1.6.18 | 1.5.18, 1.6.18 |
References
- https://github.com/containerd/containerd/commit/0c314901076a74a7b797a545d2f462285fdbb8c4 · Patch, WEB, FIX
- https://github.com/containerd/containerd/releases/tag/v1.5.18 · Release Notes, WEB
- https://github.com/containerd/containerd/releases/tag/v1.6.18 · Release Notes, WEB
- https://github.com/containerd/containerd/security/advisories/GHSA-259w-8hf6-59c2 · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2023-25153 · ADVISORY
- https://github.com/containerd/containerd · PACKAGE
- https://pkg.go.dev/vuln/GO-2023-1573 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 16 Feb 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Feb 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Feb 2023)