Live threats

All CVEs / Linuxfoundation

CVE-2023-25173Linuxfoundation Containerd

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
0.4%
probability of exploitation in 30 days · percentile 27
Auth required
Yes
Published
Feb 16, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-863
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Containerd.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/containerd/containerd < 1.5.18 1.5.18 go get github.com/containerd/containerd@v1.5.18
Go github.com/containerd/containerd ≥ 1.6.0 < 1.6.18 1.6.18 go get github.com/containerd/containerd@v1.6.18
Go github.com/containerd/containerd < 1.5.18 1.5.18 go get github.com/containerd/containerd@v1.5.18
Go github.com/containerd/containerd ≥ 1.6.0 < 1.6.18 1.6.18 go get github.com/containerd/containerd@v1.6.18

Per OSV / GitHub Advisories (GHSA-hmfx-3pcx-653p, GO-2023-1574). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
linuxfoundationcontainerd< 1.5.18
linuxfoundationcontainerd≥ 1.6.0 < 1.6.18

Official advisories

Also: Red Hat (+1)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.