Skip to content
OpenAdvisories
Medium · 6.2 CVE-2023-25153 EUVD-2023-0597GHSA-259w-8hf6-59c2GO-2023-1573

containerd OCI image importer memory exhaustion

Published Feb 16, 2023 · Updated Mar 10, 2025 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
containerd containerd < 1.5.18, >= 1.6.0, < 1.6.18 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 containerd 1.6.18~ds1-1 —
Debian 13 containerd 1.6.18~ds1-1 —
Debian 12 containerd 1.6.18~ds1-1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS containerd 1.6.12-0ubuntu1~22.04.3 USN-6202-1
Ubuntu 20.04 LTS containerd 1.6.12-0ubuntu1~20.04.3 USN-6202-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS containerd 1.6.12-0ubuntu1~18.04.1+esm1 USN-6202-1
Ubuntu Pro 16.04 LTS containerd 1.2.6-0ubuntu1~16.04.6+esm4 USN-6202-1
ReleasePackageFixed inAdvisory
Red Hat Ceph Storage 9 ceph +27 2:20.1.0-144.el9cp RHSA-2026:1536
ReleasePackageFixed inAdvisory
SLES 15 SP4 containerd 1.6.19-150000.87.1 SUSE-SU-2023:1827-1
SLES 12 containerd 1.6.19-16.76.1 SUSE-SU-2023:1826-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Micro 5.4 containerd 1.6.19-150000.87.1 SUSE-SU-2023:1827-1
SLE Micro 5.3 containerd 1.6.19-150000.87.1 SUSE-SU-2023:1827-1
SLE Micro 5.2 containerd 1.6.19-150000.87.1 SUSE-SU-2023:1827-1
SLE Micro 5.1 containerd 1.6.19-150000.87.1 SUSE-SU-2023:1827-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed containerd 1.6.19-1.1 openSUSE-SU-2024:12822-1
openSUSE Leap 15.4 containerd 1.6.19-150000.87.1 SUSE-SU-2023:1827-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.3 containerd 1.6.19-150000.87.1 SUSE-SU-2023:1827-1
ReleasePackageFixed inAdvisory
Alpine v3.24 containerd 1.6.18-r0 —
Alpine v3.23 containerd 1.6.18-r0 —
Alpine v3.22 containerd 1.6.18-r0 —
Alpine v3.21 containerd 1.6.18-r0 —
Alpine v3.20 containerd 1.6.18-r0 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 containerd 1.6.18-r0 —
Alpine v3.18 containerd 1.6.18-r0 —
Alpine v3.17 containerd 1.6.18-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 containerd +1 1.6.19-1.amzn2023.0.1 ALAS2023-2023-156

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 moby-engine 20.10.25-3 —
Azure Linux 2 (CBL-Mariner) k3s 1.25.5-7 —
Azure Linux 2 (CBL-Mariner) moby-containerd 1.6.18-2 —
Azure Linux 2 (CBL-Mariner) moby-engine 20.10.14-7 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling ctop 0.7.7-r13 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/containerd/containerd < 1.5.18 1.5.18 GHSA-259w-8hf6-59c2
Go github.com/containerd/containerd >= 1.6.0, < 1.6.18 1.6.18 GHSA-259w-8hf6-59c2
Go github.com/containerd/containerd < 1.5.18 · >= 1.6.0, < 1.6.18 1.5.18, 1.6.18 GO-2023-1573

Advisories 10

References