Vulnerability · Published Feb 16, 2023 · Assigned by GitHub_M

CVE-2023-25153containerd OCI image importer memory exhaustion

Medium 6.2

In plain English

A medium-severity resource allocation without limits in containerd from containerd. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.2Medium
Exploit odds (30 days)0.4%top 69.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20containerd1.6.18-r0ALPINE-CVE-2023-25153
Alpine:v3.21containerd1.6.18-r0ALPINE-CVE-2023-25153
Alpine:v3.22containerd1.6.18-r0ALPINE-CVE-2023-25153
Alpine:v3.23containerd1.6.18-r0ALPINE-CVE-2023-25153
Alpine:v3.24containerd1.6.18-r0ALPINE-CVE-2023-25153
Debian:12containerd1.6.18~ds1-1DEBIAN-CVE-2023-25153
Debian:13containerd1.6.18~ds1-1DEBIAN-CVE-2023-25153
Debian:14containerd1.6.18~ds1-1DEBIAN-CVE-2023-25153
Gogithub.com/containerd/containerd1.6.18GHSA-259w-8hf6-59c2
Gogithub.com/containerd/containerd1.5.18, 1.6.18GO-2023-1573
Gogithub.com/containerd/containerd1.5.18GHSA-259w-8hf6-59c2
Ubuntu:22.04:LTScontainerd1.6.12-0ubuntu1~22.04.3UBUNTU-CVE-2023-25153
Ubuntu:22.04:LTScontainerd1.6.12-0ubuntu1~22.04.3USN-6202-1

Affected products (as reported)

VendorProductVersions
containerd containerd < 1.5.18>= 1.6.0, < 1.6.18

Weakness: CWE-770 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References