{"id":"CVE-2023-25153","state":"PUBLISHED","title":"containerd OCI image importer memory exhaustion","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.","publishedAt":"2023-02-16T14:09:08.519Z","updatedAt":"2025-03-10T21:10:44.159Z","severity":{"score":6.2,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["containerd containerd"],"affected":[{"vendor":"containerd","product":"containerd","versions":[{"version":"< 1.5.18","status":"affected"},{"version":">= 1.6.0, < 1.6.18","status":"affected"}]}],"references":["https://github.com/containerd/containerd/security/advisories/GHSA-259w-8hf6-59c2","https://github.com/containerd/containerd/commit/0c314901076a74a7b797a545d2f462285fdbb8c4","https://github.com/containerd/containerd/releases/tag/v1.5.18","https://github.com/containerd/containerd/releases/tag/v1.6.18"],"weaknesses":["CWE-770"],"ingestedAt":"2026-10-29T20:05:43.909Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/25xxx/CVE-2023-25153.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-25153","state":"PUBLISHED","datePublished":"2023-02-16T14:09:08.519Z","dateUpdated":"2025-03-10T21:10:44.159Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-02-03T16:59:18.242Z"},"containers":{"cna":{"title":"containerd OCI image importer memory exhaustion","descriptions":[{"lang":"en","value":"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":[{"vendor":"containerd","product":"containerd","versions":[{"version":"< 1.5.18","status":"affected"},{"version":">= 1.6.0, < 1.6.18","status":"affected"}]}],"references":[{"url":"https://github.com/containerd/containerd/security/advisories/GHSA-259w-8hf6-59c2","name":"https://github.com/containerd/containerd/security/advisories/GHSA-259w-8hf6-59c2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/containerd/containerd/commit/0c314901076a74a7b797a545d2f462285fdbb8c4","name":"https://github.com/containerd/containerd/commit/0c314901076a74a7b797a545d2f462285fdbb8c4","tags":["x_refsource_MISC"]},{"url":"https://github.com/containerd/containerd/releases/tag/v1.5.18","name":"https://github.com/containerd/containerd/releases/tag/v1.5.18","tags":["x_refsource_MISC"]},{"url":"https://github.com/containerd/containerd/releases/tag/v1.6.18","name":"https://github.com/containerd/containerd/releases/tag/v1.6.18","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.2,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-770","lang":"en","description":"CWE-770: Allocation of Resources Without Limits or Throttling","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-02-16T14:09:08.519Z"},"source":{"advisory":"GHSA-259w-8hf6-59c2","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/containerd/containerd/security/advisories/GHSA-259w-8hf6-59c2","name":"https://github.com/containerd/containerd/security/advisories/GHSA-259w-8hf6-59c2","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/containerd/containerd/commit/0c314901076a74a7b797a545d2f462285fdbb8c4","name":"https://github.com/containerd/containerd/commit/0c314901076a74a7b797a545d2f462285fdbb8c4","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/containerd/containerd/releases/tag/v1.5.18","name":"https://github.com/containerd/containerd/releases/tag/v1.5.18","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/containerd/containerd/releases/tag/v1.6.18","name":"https://github.com/containerd/containerd/releases/tag/v1.6.18","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T11:18:35.221Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-10T20:57:30.825093Z","id":"CVE-2023-25153","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-10T21:10:44.159Z"}}]}}}