Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/containerd/containerd
  4. ›
  5. CVE-2023-25153

CVE-2023-25153: OCI image importer memory exhaustion in github.com/containerd/containerd

February 16, 2023 (updated November 9, 2023)

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.

References

  • github.com/advisories/GHSA-259w-8hf6-59c2
  • github.com/containerd/containerd/commit/0c314901076a74a7b797a545d2f462285fdbb8c4
  • github.com/containerd/containerd/releases/tag/v1.5.18
  • github.com/containerd/containerd/releases/tag/v1.6.18
  • github.com/containerd/containerd/security/advisories/GHSA-259w-8hf6-59c2
  • nvd.nist.gov/vuln/detail/CVE-2023-25153

Code Behaviors & Features

Detect and mitigate CVE-2023-25153 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.5.18, all versions starting from 1.6.0 before 1.6.18

Fixed versions

  • 1.5.18
  • 1.6.18

Solution

Upgrade to versions 1.5.18, 1.6.18 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

go/github.com/containerd/containerd/CVE-2023-25153.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 04 Dec 2025 12:19:54 +0000.