CVEfocus › CVE database › CVE-2023-25153

CVE-2023-25153containerd OCI image importer memory exhaustion

CVSS 6.2 MediumEPSS 0.4% (higher than 25% of CVEs)Published 2023-02-16Updated 2025-03-10Assigner: GitHub_M

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.

CWE-770

What to do

Fixed builds are available from Alpine, Debian, Go, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

14Fixed
2Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04containerdFixed1.6.12-0ubuntu1~22.04.3UBUNTU-CVE-2023-25153
Ubuntu 20.04containerdFixed1.6.12-0ubuntu1~20.04.3UBUNTU-CVE-2023-25153
Ubuntu 18.04containerdFix pending1.6.12-0ubuntu1~18.04.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2023-25153
Ubuntu 16.04containerdFix pending1.2.6-0ubuntu1~16.04.6+esm4 (Ubuntu Pro)UBUNTU-CVE-2023-25153
Debian 14containerdFixed1.6.18~ds1-1DEBIAN-CVE-2023-25153
Debian 13containerdFixed1.6.18~ds1-1DEBIAN-CVE-2023-25153
Debian 12containerdFixed1.6.18~ds1-1DEBIAN-CVE-2023-25153
Alpine Linux 3.24containerdFixed1.6.18-r0ALPINE-CVE-2023-25153
Alpine Linux 3.23containerdFixed1.6.18-r0ALPINE-CVE-2023-25153
Alpine Linux 3.22containerdFixed1.6.18-r0ALPINE-CVE-2023-25153
Alpine Linux 3.21containerdFixed1.6.18-r0ALPINE-CVE-2023-25153
Alpine Linux 3.20containerdFixed1.6.18-r0ALPINE-CVE-2023-25153
Alpine Linux 3.19containerdFixed1.6.18-r0ALPINE-CVE-2023-25153
Alpine Linux 3.18containerdFixed1.6.18-r0ALPINE-CVE-2023-25153
Alpine Linux 3.17containerdFixed1.6.18-r0ALPINE-CVE-2023-25153
Go librarygithub.com/containerd/containerdFixed1.5.18GO-2023-1573

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.