CVE catalog

CVE-2023-25173

containerd: CVE-2023-25173

[CVE catalog]

Severity
High · CVSS 7.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.54% · Oct 25, 2026

containerd is an open source container runtime. A bug was found in containerd prior to versions 1.6.18 and 1.5.18 where supplementary groups are not set up properly inside a container. If an attacker has direct access to a container and manipulates their supplementary group access, they may be able to use supplementary group access to bypass primary group restrictions in some cases, potentially gaining access to sensitive information or gaining the ability to execute code in that container. Downstream applications that use the containerd client library may be affected as well. This bug has been fixed in containerd v1.6.18 and v.1.5.18. Users should update to these versions and recreate containers to resolve this issue. Users who rely on a downstream application that uses containerd's client library should check that application for a separate advisory and instructions. As a workaround, ensure that the `"USER $USERNAME"` Dockerfile instruction is not used. Instead, set the container entrypoint to a value similar to `ENTRYPOINT ["su", "-", "user"]` to allow `su` to properly set up supplementary groups.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiancontainerdsid2.1.9+ds1-5fixed
Debiancontainerdforky2.1.9+ds1-5fixed
Debiancontainerdtrixie1.7.24~ds1-6+deb13u1fixed
Debiancontainerdtrixie-security1.7.24~ds1-6+deb13u1fixed
Debiancontainerdbookworm1.6.20~ds1-1+deb12u3fixed
Debiancontainerdbookworm-security1.6.20~ds1-1+deb12u2fixed
Ubuntucontainerdpro0.2.5-0ubuntu2vulnerable
Ubuntucontainerdpro1.2.6-0ubuntu1~18.04.1vulnerable
Ubuntucontainerdpro1.2.6-0ubuntu1~18.04.2vulnerable
Ubuntucontainerdpro1.3.3-0ubuntu1~18.04.1vulnerable
Ubuntucontainerdpro1.3.3-0ubuntu1~18.04.2vulnerable
Ubuntucontainerdpro1.3.3-0ubuntu1~18.04.3vulnerable
Ubuntucontainerdpro1.3.3-0ubuntu1~18.04.4vulnerable
Ubuntucontainerdpro1.4.4-0ubuntu1~18.04.2vulnerable
Ubuntucontainerdpro1.5.2-0ubuntu1~18.04.1vulnerable
Ubuntucontainerdpro1.5.2-0ubuntu1~18.04.2vulnerable
Ubuntucontainerdpro1.5.2-0ubuntu1~18.04.3vulnerable
Ubuntucontainerdpro1.5.5-0ubuntu3~18.04.1vulnerable
Ubuntucontainerdpro1.5.5-0ubuntu3~18.04.2vulnerable
Ubuntucontainerdpro1.5.9-0ubuntu1~18.04.1vulnerable
Ubuntucontainerdpro1.5.9-0ubuntu1~18.04.2vulnerable
Ubuntucontainerdpro1.6.12-0ubuntu1~18.04.1vulnerable
Ubuntucontainerdpro1.6.12-0ubuntu1~18.04.1+esm1fixed
Ubuntucontainerd20.041.2.10-0ubuntu1vulnerable
Ubuntucontainerd20.041.3.2-0ubuntu1vulnerable
Ubuntucontainerd20.041.3.3-0ubuntu1vulnerable
Ubuntucontainerd20.041.3.3-0ubuntu2vulnerable
Ubuntucontainerd20.041.3.3-0ubuntu2.1vulnerable
Ubuntucontainerd20.041.3.3-0ubuntu2.2vulnerable
Ubuntucontainerd20.041.3.3-0ubuntu2.3vulnerable
Ubuntucontainerd20.041.4.4-0ubuntu1~20.04.2vulnerable
Ubuntucontainerd20.041.5.2-0ubuntu1~20.04.1vulnerable
Ubuntucontainerd20.041.5.2-0ubuntu1~20.04.2vulnerable
Ubuntucontainerd20.041.5.2-0ubuntu1~20.04.3vulnerable
Ubuntucontainerd20.041.5.5-0ubuntu3~20.04.1vulnerable
Ubuntucontainerd20.041.5.5-0ubuntu3~20.04.2vulnerable
Ubuntucontainerd20.041.5.9-0ubuntu1~20.04.1vulnerable
Ubuntucontainerd20.041.5.9-0ubuntu1~20.04.4vulnerable
Ubuntucontainerd20.041.5.9-0ubuntu1~20.04.5vulnerable
Ubuntucontainerd20.041.5.9-0ubuntu1~20.04.6vulnerable
Ubuntucontainerd20.041.6.12-0ubuntu1~20.04.1vulnerable
Ubuntucontainerd20.041.6.12-0ubuntu1~20.04.3fixed
Ubuntucontainerd22.041.5.5-0ubuntu3vulnerable
Ubuntucontainerd22.041.5.9-0ubuntu1vulnerable
Ubuntucontainerd22.041.5.9-0ubuntu2vulnerable
Ubuntucontainerd22.041.5.9-0ubuntu3vulnerable
Ubuntucontainerd22.041.5.9-0ubuntu3.1vulnerable
Ubuntucontainerd22.041.6.12-0ubuntu1~22.04.1vulnerable
Ubuntucontainerd22.041.6.12-0ubuntu1~22.04.3fixed
Opensusehelmtumbleweed3.13.0-2.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiancontainerdsourcesid1.6.18~ds1-1not yet assignedNot reportedNot reported
Debiancontainerdsourceforky1.6.18~ds1-1not yet assignedNot reportedNot reported
Debiancontainerdsourcetrixie1.6.18~ds1-1not yet assignedNot reportedNot reported
Debiancontainerdsourcebookworm1.6.18~ds1-1not yet assignedNot reportedNot reported
Ubuntucontainerddebpro1.6.12-0ubuntu1~18.04.1+esm1Not reportedUBUNTU-CVE-2023-25173Not reported
Ubuntucontainerddeb20.041.6.12-0ubuntu1~20.04.3Not reportedUBUNTU-CVE-2023-25173Not reported
Ubuntucontainerddeb22.041.6.12-0ubuntu1~22.04.3Not reportedUBUNTU-CVE-2023-25173Not reported
Opensusehelmrpmtumbleweed3.13.0-2.1Not reportedOPENSUSE-SU-2024:13295-1Not reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References